Compiler Bug in C++/CLI vs Native C++
Managed C++/CLI
1
Posts
1
Posters
1
Views
1
Watching
-
FYI: I entered this Connect bug found by a coworker. If you're a C++/CLI dev you may want to upvote it. The /clr compiler issues an error whereas the C++ compiler (and clang/llvm on Mac) accept the template code. It's a template using std::is_base_of and isn't too crazy. There's no managed code involved at all in fact (ie. no ref classes). http://connect.microsoft.com/VisualStudio/feedback/details/841299/unexpected-undefined-class-error-using-std-is-base-of-with-c-cli-code[^] John