Visual Computing Library
Loading...
Searching...
No Matches
vcl::MakeConstPointer< T * > Struct Template Reference

Utility type that makes possible to treat const pointers in a templated class that can treat a both const and non-const pointer type. More...

#include <vclib/types/const_correctness.h>

Public Types

using type = const T *
 

Detailed Description

template<typename T>
struct vcl::MakeConstPointer< T * >

Utility type that makes possible to treat const pointers in a templated class that can treat a both const and non-const pointer type.

The type T is converted to a const pointer if it is a raw pointer or a shared pointer type.

Template Parameters
TThe type to be converted to a const pointer.

The documentation for this struct was generated from the following file: