LibreOffice Module editeng (master) 1
|
Specialise std::optional template for the case where we are wrapping a o3tl::cow_wrapper type, and we can make the pointer inside the cow_wrapper act as an empty value, and save ourselves some storage. More...
#include <outlobj.hxx>
Public Member Functions | |
optional () noexcept | |
optional (std::nullopt_t) noexcept | |
optional (const optional &other) | |
optional (optional &&other) noexcept | |
optional (OutlinerParaObject &¶) noexcept | |
optional (const OutlinerParaObject ¶) noexcept | |
template<class... Args> | |
optional (std::in_place_t, Args &&... args) | |
optional & | operator= (optional const &other) |
optional & | operator= (optional &&other) noexcept |
template<class... Args> | |
void | emplace (Args &&... args) |
bool | has_value () const noexcept |
operator bool () const noexcept | |
void | reset () |
OutlinerParaObject & | value () |
OutlinerParaObject & | operator* () |
const OutlinerParaObject & | operator* () const |
OutlinerParaObject * | operator-> () |
const OutlinerParaObject * | operator-> () const |
Private Member Functions | |
void | throwIfEmpty () const |
Private Attributes | |
OutlinerParaObject | maParaObject |
Specialise std::optional template for the case where we are wrapping a o3tl::cow_wrapper type, and we can make the pointer inside the cow_wrapper act as an empty value, and save ourselves some storage.
Definition at line 132 of file outlobj.hxx.
|
inlinenoexcept |
Definition at line 135 of file outlobj.hxx.
|
inlinenoexcept |
Definition at line 136 of file outlobj.hxx.
|
inline |
Definition at line 137 of file outlobj.hxx.
|
inlinenoexcept |
Definition at line 139 of file outlobj.hxx.
|
inlinenoexcept |
Definition at line 141 of file outlobj.hxx.
|
inlinenoexcept |
Definition at line 143 of file outlobj.hxx.
|
inlineexplicit |
Definition at line 146 of file outlobj.hxx.
|
inline |
Definition at line 160 of file outlobj.hxx.
References args.
|
inlinenoexcept |
Definition at line 165 of file outlobj.hxx.
|
inlineexplicitnoexcept |
Definition at line 166 of file outlobj.hxx.
|
inline |
Definition at line 174 of file outlobj.hxx.
|
inline |
Definition at line 179 of file outlobj.hxx.
|
inline |
Definition at line 184 of file outlobj.hxx.
|
inline |
Definition at line 189 of file outlobj.hxx.
|
inlinenoexcept |
Definition at line 154 of file outlobj.hxx.
|
inline |
Definition at line 149 of file outlobj.hxx.
|
inline |
Definition at line 167 of file outlobj.hxx.
|
inlineprivate |
Definition at line 195 of file outlobj.hxx.
|
inline |
Definition at line 169 of file outlobj.hxx.
|
private |
Definition at line 200 of file outlobj.hxx.