Skip to content

Class C

class C<T> demo

template <typename T>
struct C { … }

A wrapper that forwards any argument into its stored value.

This utility struct uses a perfect-forwarding constructor to initialize its data member from any compatible type, making it useful for type erasure or generic factory patterns where the exact construction site is separated from the call site.

Template parameters
T The type of the wrapped value.

Note

This is a note about the C class.

Warning

This is a warning about the C class.

function C<T>(U &&)

template <typename U>
C(U&& u)

Fully qualified name: ns::C<T>::C<T>(U &&)

Declared at library.hpp:347

variable value

T value

Fully qualified name: ns::C<T>::value

Declared at library.hpp:350

Fully qualified name: ns::C<T>

Declared at library.hpp:344

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.