4#ifndef TETL_MEMORY_RANGES_CONSTRUCT_AT_HPP
5#define TETL_MEMORY_RANGES_CONSTRUCT_AT_HPP
7#include <etl/_memory/construct_at.hpp>
8#include <etl/_utility/forward.hpp>
13 template <
typename T,
typename... Args>
14 requires requires(
void* ptr, Args&&... args) { ::
new (ptr) T(
etl::forward<Args>(args)...); }
15 constexpr auto operator()(T* p, Args&&... args)
const -> T*
17 return etl::construct_at(p,
etl::forward<Args>(args)...);
Definition ranges_in_fun_result.hpp:12
Definition adjacent_find.hpp:9
Definition ranges_construct_at.hpp:12
constexpr auto operator()(T *p, Args &&... args) const -> T *
Definition ranges_construct_at.hpp:15