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

failing static assert

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.32 sec, absolute service time: 0,51 sec 
edit mode |  history
Error(s):
1105238100/source.cpp:17:23: error: static_assert expression is not an integral constant expression
        static_assert(container.capacity(), "Does not compile");
                      ^~~~~~~~~~~~~~~~~~~~
1105238100/source.cpp:17:23: note: implicit use of 'this' pointer is only allowed within the evaluation of a call to a 'constexpr' member function
1 error generated.

        

    
                
λ
.NET NoSQL database for rapid development