std::pointer_safety

Defined in header <memory> enum class pointer_safety { relaxed, preferred, strict }; (since C++11) The scoped enumeration type pointer_safety lists the pointer safety modes supported by C++ Enumeration constants pointer_safety::strict Only safely-derived pointers (pointers to objects allocated with new or subobjects thereof) may be dereferenced or deallocated. Garbage collector may be active. pointer_safety::preferred All pointers are considered val

std::pointer_traits::pointer_to

Defined in header <memory> static pointer pointer_to( element_type& r ); (1) (since C++11) (member of pointer_traits<Ptr> specialization) static pointer pointer_to( element_type& r ); (2) (since C++11) (member of pointer_traits<T*> specialization) Constructs a dereferenceable pointer to its argument. 1) The version of this function in the non-specialized std::pointer_traits template simply calls Ptr::pointer_to(r), and if Ptr does not provide a st

std::piecewise_linear_distribution::piecewise_linear_distribution

piecewise_linear_distribution(); (1) (since C++11) template< class InputIt1, class InputIt2 > piecewise_linear_distribution( InputIt1 first_i, InputIt1 last_i, InputIt2 first_w ); (2) (since C++11) template< class UnaryOperation > piecewise_linear_distribution( std::initializer_list<RealType> ilist, UnaryOperation fw ); (3) (since C++11) template< class UnaryOperation > piecewise_linear_dis

std::placeholders::_1

Defined in header <functional> /*see below*/ _1; /*see below*/ _2; . . /*see below*/ _N; The std::placeholders namespace contains the placeholder objects [_1, . . . _N] where N is an implementation defined maximum number. When used as an argument in a std::bind expression, the placeholder objects are stored in the generated function object, and when that function object is invoked with unbound arguments, each placeholder _N is replaced by the corresponding Nth unbound argum

std::plus

Defined in header <functional> template< class T > struct plus; (until C++14) template< class T = void > struct plus; (since C++14) Function object for performing addition. Effectively calls operator+ on two instances of type T. Specializations The standard library provides a specialization of std::plus when T is not specified, which leaves the parameter types and return type to be deduced. plus<void> function object implementing x + y deduci

std::piecewise_linear_distribution::param

param_type param() const; (1) (since C++11) void param( const param_type& params ); (2) (since C++11) Manages the associated distribution parameter set. 1) Returns the associated parameter set. 2) Sets the associated parameter set to params. Parameters params - new contents of the associated parameter set Return value 1) The associated parameter set. 2) (none). Complexity Constant.

std::piecewise_linear_distribution::reset

void reset(); (since C++11) Resets the internal state of the distribution object. After a call to this function, the next call to operator() on the distribution object will not be dependent on previous calls to operator(). Parameters (none). Return value (none). Complexity Constant.

std::piecewise_linear_distribution::min

result_type min() const; (since C++11) Returns the minimum value potentially generated by the distribution. Parameters (none). Return value The minimum value potentially generated by the distribution. Complexity Constant. See also max returns the maximum potentially generated value (public member function)

std::piecewise_linear_distribution::max

result_type max() const; (since C++11) Returns the maximum value potentially generated by the distribution. Parameters (none). Return value The maximum value potentially generated by the distribution. Complexity Constant. See also min returns the minimum potentially generated value (public member function)

std::piecewise_construct

constexpr piecewise_construct_t piecewise_construct = std::piecewise_construct_t(); (since C++11) The constant std::piecewise_construct is an instance of an empty struct tag type std::piecewise_construct_t. Example #include <iostream> #include <utility> #include <tuple> struct Foo { Foo(std::tuple<int, float>) { std::cout << "Constructed a Foo from a tuple\n"; } Foo(int, float) { std::cout << "Constructed a