memlayout
Minimal CPU/GPU header-only example library
Loading...
Searching...
No Matches
memlayout::GetPointer< 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::GetPointer< ReturnType >

Definition at line 25 of file wrapper.h.

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 27 of file wrapper.h.

27{ return {&args...}; }

◆ operator()() [2/2]

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

Definition at line 29 of file wrapper.h.

29{ return {&args...}; }

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