C++ concepts: EmplaceConstructible (since C++11) - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# C++ concepts: EmplaceConstructible (since C++11)

From cppreference.com
< cpp‎ | concept

Specifies that an object of the type can be constructed in uninitialized storage.

### [edit] Requirements

The type `T` is `EmplaceConstructible` into the `Container` `X` from the arguments `args` if, given

`A` | the allocator type defined as `X::allocator_type`
`m` | the lvalue of type `A` obtained from X::get_allocator()
`p` | the pointer of type `T*` prepared by the container
`args` | zero or more arguments passed to the constructor of `T`

the following expression is well-formed:

    std::allocator_traits<A>::construct(m, p, args);

### [edit] See Also

`CopyInsertable`
`MoveInsertable`

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/concept/EmplaceConstructible&oldid=49407"