-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
#include <vu8/Module.hpp>
void test() {}
void register()
{
vu8::Module module;
module("print", &print)
.Set<void(), &test>("test");
}
gives the following errors with Visual Studio 2010 x64:
1> error C2975: 'Ptr' : invalid template argument for 'vu8::Module::Set', expected compile-time constant expression
1> vu8\src\vu8/Module.hpp(74) : see declaration of 'Ptr'
1> error C2977: 'vu8::Module::Set' : too many template arguments
1> vu8\src\vu8/Module.hpp(69) : see declaration of 'vu8::Module::Set'
1> error C2780: 'vu8::Module &vu8::Module::Set(const char *,vu8::Class<T,F> &)' : expects 2 arguments - 1 provided
1> vu8\src\vu8/Module.hpp(64) : see declaration of 'vu8::Module::Set'
Metadata
Metadata
Assignees
Labels
No labels