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

make_div call in constant expression

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 1,38 sec, absolute service time: 1,41 sec 
edit mode |  history  | discussion
Error(s):
source_file.cpp(19): error C2131: expression did not evaluate to a constant
source_file.cpp(13): note: failure was caused by evaluating a lambda expression
source_file.cpp(19): note: while evaluating 'make_div(2, 1)'
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64

        

    
                
λ
.NET NoSQL database for rapid development