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

compile visual studio c++ online

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 1.56 sec, absolute service time: 1.59 sec 
edit mode |  history
Error(s):
source_file.cpp(6) : error C2976: 'std::unique_ptr' : too few template arguments
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\memory(1328) : see declaration of 'std::unique_ptr'
        source_file.cpp(24) : see reference to class template instantiation 'helper<int>::wrapper_type<std::unique_ptr,T>' being compiled
        with
        [
            T=int
        ]
source_file.cpp(24) : error C2514: 'std::unique_ptr' : class has no constructors
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\memory(1328) : see declaration of 'std::unique_ptr'
source_file.cpp(25) : error C3203: 'unique_ptr' : unspecialized class template can't be used as a template argument for template parameter '_Ty1', expected a real type
source_file.cpp(25) : error C2338: unexpected

        

    
                
λ
.NET NoSQL database for rapid development