openMSX
Functions
memory.hh File Reference
#include <memory>
#include <utility>
Include dependency graph for memory.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T >
std::unique_ptr< T > make_unique ()
 
template<typename T , typename P1 >
std::unique_ptr< T > make_unique (P1 &&p1)
 
template<typename T , typename P1 , typename P2 >
std::unique_ptr< T > make_unique (P1 &&p1, P2 &&p2)
 
template<typename T , typename P1 , typename P2 , typename P3 >
std::unique_ptr< T > make_unique (P1 &&p1, P2 &&p2, P3 &&p3)
 
template<typename T , typename P1 , typename P2 , typename P3 , typename P4 >
std::unique_ptr< T > make_unique (P1 &&p1, P2 &&p2, P3 &&p3, P4 &&p4)
 
template<typename T , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 >
std::unique_ptr< T > make_unique (P1 &&p1, P2 &&p2, P3 &&p3, P4 &&p4, P5 &&p5)
 
template<typename T , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 >
std::unique_ptr< T > make_unique (P1 &&p1, P2 &&p2, P3 &&p3, P4 &&p4, P5 &&p5, P6 &&p6)
 
template<typename T , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7 >
std::unique_ptr< T > make_unique (P1 &&p1, P2 &&p2, P3 &&p3, P4 &&p4, P5 &&p5, P6 &&p6, P7 &&p7)
 
template<typename T , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7 , typename P8 >
std::unique_ptr< T > make_unique (P1 &&p1, P2 &&p2, P3 &&p3, P4 &&p4, P5 &&p5, P6 &&p6, P7 &&p7, P8 &&p8)
 
template<typename T , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7 , typename P8 , typename P9 >
std::unique_ptr< T > make_unique (P1 &&p1, P2 &&p2, P3 &&p3, P4 &&p4, P5 &&p5, P6 &&p6, P7 &&p7, P8 &&p8, P9 &&p9)
 
template<typename T , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7 , typename P8 , typename P9 , typename P10 >
std::unique_ptr< T > make_unique (P1 &&p1, P2 &&p2, P3 &&p3, P4 &&p4, P5 &&p5, P6 &&p6, P7 &&p7, P8 &&p8, P9 &&p9, P10 &&p10)
 
template<typename T , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7 , typename P8 , typename P9 , typename P10 , typename P11 >
std::unique_ptr< T > make_unique (P1 &&p1, P2 &&p2, P3 &&p3, P4 &&p4, P5 &&p5, P6 &&p6, P7 &&p7, P8 &&p8, P9 &&p9, P10 &&p10, P11 &&p11)
 
template<typename T , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7 , typename P8 , typename P9 , typename P10 , typename P11 , typename P12 >
std::unique_ptr< T > make_unique (P1 &&p1, P2 &&p2, P3 &&p3, P4 &&p4, P5 &&p5, P6 &&p6, P7 &&p7, P8 &&p8, P9 &&p9, P10 &&p10, P11 &&p11, P12 &&p12)
 
template<typename T , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7 , typename P8 , typename P9 , typename P10 , typename P11 , typename P12 , typename P13 >
std::unique_ptr< T > make_unique (P1 &&p1, P2 &&p2, P3 &&p3, P4 &&p4, P5 &&p5, P6 &&p6, P7 &&p7, P8 &&p8, P9 &&p9, P10 &&p10, P11 &&p11, P12 &&p12, P13 &&p13)
 

Function Documentation

◆ make_unique() [1/14]

template<typename T >
std::unique_ptr<T> make_unique ( )

◆ make_unique() [2/14]

template<typename T , typename P1 >
std::unique_ptr<T> make_unique ( P1 &&  p1)

Definition at line 33 of file memory.hh.

◆ make_unique() [3/14]

template<typename T , typename P1 , typename P2 >
std::unique_ptr<T> make_unique ( P1 &&  p1,
P2 &&  p2 
)

Definition at line 40 of file memory.hh.

◆ make_unique() [4/14]

template<typename T , typename P1 , typename P2 , typename P3 >
std::unique_ptr<T> make_unique ( P1 &&  p1,
P2 &&  p2,
P3 &&  p3 
)

Definition at line 47 of file memory.hh.

◆ make_unique() [5/14]

template<typename T , typename P1 , typename P2 , typename P3 , typename P4 >
std::unique_ptr<T> make_unique ( P1 &&  p1,
P2 &&  p2,
P3 &&  p3,
P4 &&  p4 
)

Definition at line 55 of file memory.hh.

References openmsx::P1, and openmsx::P2.

◆ make_unique() [6/14]

template<typename T , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 >
std::unique_ptr<T> make_unique ( P1 &&  p1,
P2 &&  p2,
P3 &&  p3,
P4 &&  p4,
P5 &&  p5 
)

Definition at line 64 of file memory.hh.

References openmsx::P1, and openmsx::P2.

◆ make_unique() [7/14]

template<typename T , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 >
std::unique_ptr<T> make_unique ( P1 &&  p1,
P2 &&  p2,
P3 &&  p3,
P4 &&  p4,
P5 &&  p5,
P6 &&  p6 
)

Definition at line 74 of file memory.hh.

References openmsx::P1, and openmsx::P2.

◆ make_unique() [8/14]

template<typename T , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7 >
std::unique_ptr<T> make_unique ( P1 &&  p1,
P2 &&  p2,
P3 &&  p3,
P4 &&  p4,
P5 &&  p5,
P6 &&  p6,
P7 &&  p7 
)

Definition at line 85 of file memory.hh.

References openmsx::P1, and openmsx::P2.

◆ make_unique() [9/14]

template<typename T , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7 , typename P8 >
std::unique_ptr<T> make_unique ( P1 &&  p1,
P2 &&  p2,
P3 &&  p3,
P4 &&  p4,
P5 &&  p5,
P6 &&  p6,
P7 &&  p7,
P8 &&  p8 
)

Definition at line 97 of file memory.hh.

References openmsx::P1, and openmsx::P2.

◆ make_unique() [10/14]

template<typename T , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7 , typename P8 , typename P9 >
std::unique_ptr<T> make_unique ( P1 &&  p1,
P2 &&  p2,
P3 &&  p3,
P4 &&  p4,
P5 &&  p5,
P6 &&  p6,
P7 &&  p7,
P8 &&  p8,
P9 &&  p9 
)

Definition at line 110 of file memory.hh.

References openmsx::P1, and openmsx::P2.

◆ make_unique() [11/14]

template<typename T , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7 , typename P8 , typename P9 , typename P10 >
std::unique_ptr<T> make_unique ( P1 &&  p1,
P2 &&  p2,
P3 &&  p3,
P4 &&  p4,
P5 &&  p5,
P6 &&  p6,
P7 &&  p7,
P8 &&  p8,
P9 &&  p9,
P10 &&  p10 
)

Definition at line 124 of file memory.hh.

References openmsx::P1, and openmsx::P2.

◆ make_unique() [12/14]

template<typename T , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7 , typename P8 , typename P9 , typename P10 , typename P11 >
std::unique_ptr<T> make_unique ( P1 &&  p1,
P2 &&  p2,
P3 &&  p3,
P4 &&  p4,
P5 &&  p5,
P6 &&  p6,
P7 &&  p7,
P8 &&  p8,
P9 &&  p9,
P10 &&  p10,
P11 &&  p11 
)

Definition at line 138 of file memory.hh.

References openmsx::P1, and openmsx::P2.

◆ make_unique() [13/14]

template<typename T , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7 , typename P8 , typename P9 , typename P10 , typename P11 , typename P12 >
std::unique_ptr<T> make_unique ( P1 &&  p1,
P2 &&  p2,
P3 &&  p3,
P4 &&  p4,
P5 &&  p5,
P6 &&  p6,
P7 &&  p7,
P8 &&  p8,
P9 &&  p9,
P10 &&  p10,
P11 &&  p11,
P12 &&  p12 
)

Definition at line 154 of file memory.hh.

References openmsx::P1, and openmsx::P2.

◆ make_unique() [14/14]

template<typename T , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7 , typename P8 , typename P9 , typename P10 , typename P11 , typename P12 , typename P13 >
std::unique_ptr<T> make_unique ( P1 &&  p1,
P2 &&  p2,
P3 &&  p3,
P4 &&  p4,
P5 &&  p5,
P6 &&  p6,
P7 &&  p7,
P8 &&  p8,
P9 &&  p9,
P10 &&  p10,
P11 &&  p11,
P12 &&  p12,
P13 &&  p13 
)

Definition at line 171 of file memory.hh.