is_const

Returns true if type has a top level const qualifier, else false.

  bool b = is_const<T>::value;
  
Listing: Example of is_const
bool b = is_const<const int>::value;
The resulting value is true.