This code compiles without errors and warnings:
void func()
{
float a;
uint8 b;
int c;
funcA(c, a, b);
}
void funcA(float& a, uint8& b, int& c)
{
}
void func()
{
float a;
uint8 b;
int c;
funcA(c, a, b);
}
void funcA(float& a, uint8& b, int& c)
{
}
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game