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

not_null

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.33 sec, absolute service time: 0,33 sec 
edit mode |  history
Error(s):
source_file.cpp: In instantiation of ‘class not_null<some>’:
source_file.cpp:57:25:   required from here
source_file.cpp:8:5: error: static assertion failed: T cannot be assigned nullptr.
     static_assert(std::is_assignable<T&, std::nullptr_t>::value, "T cannot be assigned nullptr.");
     ^

        

    
                
λ
.NET NoSQL database for rapid development