code.h file
Code, yo.
More info.
These should be linkified by the internal autolinks parser:
- RAII
- Resource acquisition is initialization
- Resource acquisition is initialization (RAII)
- CRTP
- Curiously-recurring template pattern
- Curiously-recurring template pattern (CRTP)
- EBO
- EBCO
- Empty base-class optimisation
- Empty base optimisation (EBO)
- UDL
- User-defined literal
- User-defined literal operator
- User-defined literal operators (UDLs)
- RVO
- NRVO
- Return value optimization
- Named return-value optimisation
- Named return-value optimisations (NRVO)
- INVOKE
- INVOKE<R>
- INVOKE expression
Namespaces
- namespace test
- A namespace.
- namespace test::empty
- An empty namespace.
- namespace test::nested
- Another namespace.
Classes
- class test::class_1
- A class.
- struct test::struct_1
- A struct.
- struct test::struct_1::nested_struct
- A nested struct.
-
template <typename T>class test::template_class_1
- A template class.
Concepts
-
template <typename T>concept test::concept_1
- A concept.
-
template <typename T>concept test::nested::concept_2
- A concept.
Enums
- enum class scoped_enum: unsigned { val_0, val_1 = 1, val_2 = 2 }
- A C++11 scoped enum.
- enum unscoped_enum { LEGACY_ENUM_VAL_0, LEGACY_ENUM_VAL_1 = 1, LEGACY_ENUM_VAL_2 = 2 }
- A pre-C++11 unscoped enum.
Typedefs
- using a_shit_typedef = int
- An old-school typedef.
- using a_typedef = int
- A C++11 'using' typedef.
-
template <typename T>using a_typedef_template = T
- A C++11 'using' typedef template.
Functions
- void a_friend_function()
- A function that appears as a friend to a test::
class_1. - auto a_function_with_a_deduced_return_type()
- A function with a deduced return type.
-
template <typename T, typename U>auto do_the_other_thing(U u) → T constexpr noexcept
- A function template.
-
auto do_the_thing() → std::
uint8_t - A function.
- auto do_the_thing_automatically() → int
- A function with a trailing return type.
Variables
- bool inline_variable constexpr
- An inline variable.
Defines
- #define KEK
- A macro.
- #define KEK_IN_GROUP
- A macro inside a group.