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

Test pair deduction guide

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.73 sec, absolute service time: 0,85 sec 
edit mode |  history
Error(s):
source_file.cpp:8:10: error: use of class template 'std::pair' requires template arguments
    std::pair p{a, b}; // explicit deduction guide is used in this case
         ^
/usr/include/c++/v1/utility:253:30: note: template is declared here
struct _LIBCPP_TYPE_VIS_ONLY pair
                             ^
1 error generated.

        

    
                
λ
.NET NoSQL database for rapid development