C++ features by examples
14.cpp File Reference

C++14. More...

#include <bits/stdc++.h>
Include dependency graph for 14.cpp:

Go to the source code of this file.

Macros

#define static_assert(a)   static_assert(a, "")
 

Functions

auto implicit_int_return_type ()
 
auto deduced_return_type (int a)
 
template<typename T >
auto & deduced_return_type_template (T &t)
 
void return_type_deduction_demo ()
 
static void demo ()
 
void types_14 ()
 
static void lambda_14 ()
 
void sort_14 ()
 Compare with lambda::sort_11. More...
 
int main (void)
 

Variables

auto deduced_return_type_lambda
 
template<typename T >
pi = T(3.141592653589793238462643383)
 Binary literals, digit separators. More...
 
template<>
const char * pi< const char * > = "pi"
 

Detailed Description

C++14.

Definition in file 14.cpp.