Template Function morpheus::size_in_bits#

Function Documentation#

template<typename T>
constexpr std::size_t morpheus::size_in_bits()#

Template function to calculate the size in bits of a given type.

Template Parameters:

T – The type to calculate the size for.

Returns:

The size in bits of the given type.