My Project
Public Types | List of all members
bsl::remove_cv< T > Class Template Referencefinal

Provides the member typedef type which is the same as T, except that its topmost const and volatile qualifiers are removed. More...

#include <remove_cv.hpp>

Public Types

using type = T
 provides the member typedef "type"
 

Detailed Description

template<typename T>
class bsl::remove_cv< T >

Provides the member typedef type which is the same as T, except that its topmost const and volatile qualifiers are removed.

#include <bsl/is_same.hpp>
#include <bsl/debug.hpp>
namespace bsl
{
inline void
example_remove_cv_overview() noexcept
{
bsl::print() << "success\n";
}
}
}

SUPPRESSION: PRQA 5219 - false positive

Note
"volatile" is not supported by the BSL as it is not compliant with AUTOSAR. We only provide this for completeness and will produce a compile-time error if these APIs are used. Also note that C++ in general is deprectating the use of volatile.
Template Parameters
Tthe type to remove the const and volatile qualifiers from

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