Cbeam
Loading...
Searching...
No Matches
cbeam::lifecycle::extract_atomic_value_type< T > Struct Template Reference

Extracts the underlying value type T from either T or std::atomic<T>. More...

#include <scoped_set.hpp>

Public Types

using type = T
 

Detailed Description

template<typename T>
struct cbeam::lifecycle::extract_atomic_value_type< T >

Extracts the underlying value type T from either T or std::atomic<T>.

Template Parameters
TThe type to inspect. If T is std::atomic<U>, then type is U. Otherwise type is T.

Member Typedef Documentation

◆ type

template<typename T>
using cbeam::lifecycle::extract_atomic_value_type< T >::type = T

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