libycxx

function object

std::ranges::construct_at

Header
<memory>
Scope
std::ranges

Synopsis

inline constexpr /* implementation-defined */ construct_at = {};

Call signatures

construct_at is a function object; these are its call operators as libycxx declares them, written as the functions the draft declares.

  1. template<class T, class... Args>
      requires construct-at-ok<T, Args...>
    static constexpr T* construct_at(
        T* location,
        Args&&... args) noexcept(noexcept(std::construct_at(location, static_cast<Args &&>(args)...)));
    (1)