memlayout
Minimal CPU/GPU header-only example library
Loading...
Searching...
No Matches
memlayout::Wrapper< Struct, reference, Layout::soa > Struct Template Reference

#include <wrapper.h>

Inheritance diagram for memlayout::Wrapper< Struct, reference, Layout::soa >:

Public Types

using Base = Struct<reference>

Public Member Functions

constexpr Wrapper ()=delete
constexpr Wrapper (Base b)
constexpr Wrapper (Struct< value > &other)
constexpr Wrapper (const Wrapper &other)=default
constexpr Wrapperoperator= (const Wrapper< Struct, value > &other)
constexpr Wrapperoperator= (const Wrapper &other)
constexpr Wrapperoperator= (const Wrapper< Struct, const_reference > &other)
constexpr Wrapper (Wrapper &&other)=default
constexpr Wrapperoperator= (Wrapper &&other)
constexpr Wrapper< Struct, pointeroperator& ()
constexpr pointer< Wrapper< Struct, reference > > operator-> ()

Detailed Description

template<template< template< class > class > class Struct>
struct memlayout::Wrapper< Struct, reference, Layout::soa >

Definition at line 164 of file wrapper.h.

Member Typedef Documentation

◆ Base

template<template< template< class > class > class Struct>
using memlayout::Wrapper< Struct, reference, Layout::soa >::Base = Struct<reference>

Definition at line 165 of file wrapper.h.

Constructor & Destructor Documentation

◆ Wrapper() [1/5]

template<template< template< class > class > class Struct>
memlayout::Wrapper< Struct, reference, Layout::soa >::Wrapper ( )
constexprdelete

◆ Wrapper() [2/5]

template<template< template< class > class > class Struct>
memlayout::Wrapper< Struct, reference, Layout::soa >::Wrapper ( Base b)
inlineconstexpr

Definition at line 168 of file wrapper.h.

168: Base{static_cast<Base&&>(b)} {}

◆ Wrapper() [3/5]

template<template< template< class > class > class Struct>
memlayout::Wrapper< Struct, reference, Layout::soa >::Wrapper ( Struct< value > & other)
inlineconstexpr

Definition at line 169 of file wrapper.h.

◆ Wrapper() [4/5]

template<template< template< class > class > class Struct>
memlayout::Wrapper< Struct, reference, Layout::soa >::Wrapper ( const Wrapper< Struct, reference, Layout::soa > & other)
constexprdefault

◆ Wrapper() [5/5]

template<template< template< class > class > class Struct>
memlayout::Wrapper< Struct, reference, Layout::soa >::Wrapper ( Wrapper< Struct, reference, Layout::soa > && other)
constexprdefault

Member Function Documentation

◆ operator&()

template<template< template< class > class > class Struct>
Wrapper< Struct, pointer > memlayout::Wrapper< Struct, reference, Layout::soa >::operator& ( )
inlineconstexpr

Definition at line 190 of file wrapper.h.

◆ operator->()

template<template< template< class > class > class Struct>
pointer< Wrapper< Struct, reference > > memlayout::Wrapper< Struct, reference, Layout::soa >::operator-> ( )
inlineconstexpr

Definition at line 192 of file wrapper.h.

192{ return this; }

◆ operator=() [1/4]

template<template< template< class > class > class Struct>
Wrapper & memlayout::Wrapper< Struct, reference, Layout::soa >::operator= ( const Wrapper< Struct, reference, Layout::soa > & other)
inlineconstexpr

Definition at line 177 of file wrapper.h.

177 {
179 return *this;
180 }

◆ operator=() [2/4]

template<template< template< class > class > class Struct>
Wrapper & memlayout::Wrapper< Struct, reference, Layout::soa >::operator= ( const Wrapper< Struct, const_reference > & other)
inlineconstexpr

Definition at line 181 of file wrapper.h.

181 {
183 return *this;
184 }

◆ operator=() [3/4]

template<template< template< class > class > class Struct>
Wrapper & memlayout::Wrapper< Struct, reference, Layout::soa >::operator= ( const Wrapper< Struct, value > & other)
inlineconstexpr

Definition at line 173 of file wrapper.h.

173 {
175 return *this;
176 }

◆ operator=() [4/4]

template<template< template< class > class > class Struct>
Wrapper & memlayout::Wrapper< Struct, reference, Layout::soa >::operator= ( Wrapper< Struct, reference, Layout::soa > && other)
inlineconstexpr

Definition at line 188 of file wrapper.h.

188{ return operator=(other); }
constexpr Wrapper & operator=(const Wrapper< Struct, value > &other)
Definition wrapper.h:173

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