Foo struct
Pathological cases of noexcept.
Contents
Constructors, destructors, conversion operators
Public functions
- auto operator=(const Foo&) -> Foo& deleted noexcept(…)
- Combined conditional noexcept and delete.
- void foo() const pure virtual noexcept(…)
- Const, conditional noexcept and a pure virtual.
- auto bar() -> Foo& constexpr noexcept
- Random type and constexpr together.
- auto baz() -> decltype(auto) constexpr noexcept
- decltype(auto) and constexpr together
Function documentation
void Foo:: foo() const pure virtual noexcept(…)
Const, conditional noexcept and a pure virtual.
Details.
decltype(auto) Foo:: baz() constexpr noexcept
decltype(auto) and constexpr together
For some reason, due to decltype(auto), Doxygen swaps the order, causing the constexpr to be hard to detect. Don't even ask how it handles trailing return types. It's just HORRIBLE.