|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
#include <ast.hpp>
Public Member Functions | |
| recursive_wrapper () | |
| recursive_wrapper (T const &value) | |
| recursive_wrapper (T &&value) | |
| recursive_wrapper (recursive_wrapper const &other) | |
| recursive_wrapper (recursive_wrapper &&) noexcept=default | |
| recursive_wrapper & | operator= (recursive_wrapper const &other) |
| recursive_wrapper & | operator= (recursive_wrapper &&) noexcept=default |
| recursive_wrapper & | operator= (T const &value) |
| recursive_wrapper & | operator= (T &&value) |
| T & | get () |
| T const & | get () const |
| operator T& () | |
| operator T const & () const | |
Private Attributes | |
| std::unique_ptr< T > | ptr_ |
Local, C++20 replacement for boost::recursive_wrapper. Holds a heap-allocated T so that recursive/incomplete types can be stored as an alternative of a std::variant.
|
inline |
|
inline |
|
inline |
|
inline |
|
defaultnoexcept |
|
inline |
Definition at line 55 of file ast.hpp.
References client::ast::recursive_wrapper< T >::ptr_.
|
inline |
Definition at line 56 of file ast.hpp.
References client::ast::recursive_wrapper< T >::ptr_.
|
inlineexplicit |
Definition at line 59 of file ast.hpp.
References client::ast::recursive_wrapper< T >::ptr_.
|
inlineexplicit |
Definition at line 58 of file ast.hpp.
References client::ast::recursive_wrapper< T >::ptr_.
|
defaultnoexcept |
|
inline |
Definition at line 44 of file ast.hpp.
References client::ast::recursive_wrapper< T >::ptr_.
|
inline |
Definition at line 53 of file ast.hpp.
References client::ast::recursive_wrapper< T >::ptr_.
|
inline |
Definition at line 52 of file ast.hpp.
References client::ast::recursive_wrapper< T >::ptr_.
|
private |
Definition at line 62 of file ast.hpp.
Referenced by client::ast::recursive_wrapper< T >::get(), client::ast::recursive_wrapper< T >::get(), client::ast::recursive_wrapper< T >::operator T const &(), client::ast::recursive_wrapper< T >::operator T&(), client::ast::recursive_wrapper< T >::operator=(), client::ast::recursive_wrapper< T >::operator=(), and client::ast::recursive_wrapper< T >::operator=().