C++ features by examples
11.cpp File Reference

C++11. More...

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

Go to the source code of this file.

Classes

struct  Base11
 
struct  Derived11
 

Functions

void types_11 ()
 
void unique_pounter ()
 unique_ptr More...
 
void shared_pointer ()
 shared_ptr More...
 
void weak_pointer ()
 weak_ptr More...
 
void dynamic_memory_11 ()
 
char func_type (const int &x)
 
char func_type (int &x)
 
char func_type (int &&x)
 
template<class T >
char func_type_template (T &&x)
 Forwarding reference More...
 
void references_11 ()
 
void init_11 ()
 
auto trailing_return_type (int a) -> int
 
void copy_elision_demo ()
 copy_elision More...
 
void func_11 ()
 
constexpr int constexpr_factorial (int n)
 https://en.cppreference.com/w/cpp/language/constexpr More...
 
template<typename T >
constexpr T adder (T v)
 https://en.cppreference.com/w/cpp/language/parameter_pack More...
 
template<typename T , typename... Args>
constexpr T adder (T first, Args... args)
 
static void lambda_basics (void)
 
static void lambda_capture (void)
 
void container_11 ()
 container More...
 
void algorithm_11 ()
 algorithm More...
 
void sort_11 ()
 Compare with sort_03. More...
 
static void lambda_complex (void)
 
void condition_variable_11 ()
 
void threads_11 ()
 
void mutex_11 ()
 
void sig (int)
 
int main (void)
 

Variables

auto auto_int = 1
 https://en.cppreference.com/w/cpp/language/auto More...
 

Detailed Description

C++11.

Definition in file 11.cpp.