Original Post
I''m trying to compile a simple example with boost:
ython using g++ as opposed to using bjam.
When I compile I get:
var.cpp:14: `init'' was not declared in this scope var.cpp:14: parse error before `>'' token var.cpp:15: ISO C++ forbids declaration of `class_'' with no type var.cpp:15: template-id `class_<Var>'' in declaration of primary template var.cpp:16:44: warning: no newline at end of fileMy source code is:
var.cpp:14: `init'' was not declared in this scope var.cpp:14: parse error before `>'' token var.cpp:15: ISO C++ forbids declaration of `class_'' with no type var.cpp:15: template-id `class_<Var>'' in declaration of primary template var.cpp:16:44: warning: no newline at end of fileSo I''m assuming that I haven''t included a certain header file, but which one is it? Any help appreciated. Thanks