file
code.hCode, yo.
More info.
Namespaces
- namespace test
- A namespace.
- namespace test::nested
- Another namespace.
- namespace test::empty
- An empty namespace.
Classes
- struct test::struct_1
- A struct.
- struct test::struct_1::nested_struct
- A nested struct.
- class test::class_1
- A class.
-
template<typename T>class test::template_class_1
- A template class.
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. -
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.