BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bsl::remove_const< t_TYPE > Struct Template Reference

#include <bslmf_removeconst.h>

Public Types

typedef t_TYPE type
 This typedef is an alias to the (template parameter) t_TYPE.
 

Detailed Description

template<class t_TYPE>
struct bsl::remove_const< t_TYPE >

This struct template implements the remove_const meta-function defined in the C++11 standard [meta.trans.cv], providing an alias, type, that returns the result. type has the same type as the (template parameter) t_TYPE except that any top-level const-qualifier has been removed. Note that this generic default template provides a type that is an alias to t_TYPE for when t_TYPE is not const-qualified. A template specialization is provided (below) that removes the const-qualifier for when t_TYPE is const-qualified.

Member Typedef Documentation

◆ type

template<class t_TYPE >
typedef t_TYPE bsl::remove_const< t_TYPE >::type

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