test namespace
A namespace.
More info. Here's some C++:
int foo() { return 42_a_numeric_udl; } const char* bar() noexcept { return ""_a_string_udl; }
Namespaces
Classes
- class class_1
- A class.
- struct struct_1
- A struct.
-
template<typename T>class template_class_1
- A template class.
Concepts
-
template<typename T>concept concept_1
- 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. -
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.
Enum documentation
enum class test:: scoped_enum: unsigned
#include <src/code.h>
A C++11 scoped enum.
More info.
Enumerators | |
---|---|
val_0 |
Value zero. |
val_1 |
Value one. |
val_2 |
Value two. |
enum test:: unscoped_enum
#include <src/code.h>
A pre-C++11 unscoped enum.
More info.
Enumerators | |
---|---|
LEGACY_ENUM_VAL_0 |
Value zero. |
LEGACY_ENUM_VAL_1 |
Value one. |
LEGACY_ENUM_VAL_2 |
Value two. |
Typedef documentation
#include <src/code.h>
template<typename T>
using test:: a_typedef_template = T
A C++11 'using' typedef template.
More info.
Function documentation
void test:: a_friend_function()
#include <src/code.h>
A function that appears as a friend to a test::
More info.
#include <src/code.h>
template<typename T, typename U>
T test:: do_the_other_thing(U u) constexpr noexcept
A function template.
Template parameters | |
---|---|
T | A type. |
U | Another type. |
Parameters | |
u | An argument. |
Returns | A T. |
More info.
int test:: do_the_thing_automatically()
#include <src/code.h>
A function with a trailing return type.
More info.