Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualSiCrane

Posted 20 September 2013 - 01:04 PM

You can't call functions outside of function definitions, so the compiler looks at the function call and tries to figure out what you're trying to do and is guessing that you're trying to redefine the template rather than call a function.

 

Edit: Well to be pedantic, you can have a function call as part of a variable definition, but the compiler would need to see the variable definition first.


#1SiCrane

Posted 20 September 2013 - 01:03 PM

You can't call functions outside of function definitions, so the compiler looks at the function call and tries to figure out what you're trying to do and is guessing that you're trying to redefine the template rather than call a function.


PARTNERS