memlayout
Minimal CPU/GPU header-only example library
Loading...
Searching...
No Matches
memlayout::AggregateConstructor< ReturnType > Struct Template Reference

#include <wrapper.h>

Public Member Functions

template<class... Args>
constexpr ReturnType operator() (Args &...args) const
template<class... Args>
constexpr ReturnType operator() (const Args &...args) const

Detailed Description

template<class ReturnType>
struct memlayout::AggregateConstructor< ReturnType >

Definition at line 33 of file wrapper.h.

Member Function Documentation

◆ operator()() [1/2]

template<class ReturnType>
template<class... Args>
ReturnType memlayout::AggregateConstructor< ReturnType >::operator() ( Args &... args) const
inlineconstexpr

Definition at line 35 of file wrapper.h.

35{ return {args...}; }

◆ operator()() [2/2]

template<class ReturnType>
template<class... Args>
ReturnType memlayout::AggregateConstructor< ReturnType >::operator() ( const Args &... args) const
inlineconstexpr

Definition at line 37 of file wrapper.h.

37{ return {args...}; }

The documentation for this struct was generated from the following file: