Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Why Can't I Get the bool Value from a value_type Returned by decltype?

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 1,55 sec, absolute service time: 1,59 sec 
edit mode |  history  | discussion
Error(s):
source_file.cpp(11): error C2146: syntax error: missing '>' before identifier 'value'
source_file.cpp(12): note: see reference to class template instantiation 'bar<T>' being compiled
source_file.cpp(11): error C2993: 'unknown-type': illegal type for non-type template parameter '_Test'
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64

        

    
                
λ
.NET NoSQL database for rapid development