Skip to content

Commit e108749

Browse files
committed
allow byte_width on enum types
1 parent 4f26970 commit e108749

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bitfilled/bitfilled/size.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace bitfilled
1414
/// @tparam T the value's integral type
1515
/// @param c the input value
1616
/// @return the necessary byte size to store the value
17-
template <std::integral T>
17+
template <typename T>
1818
constexpr inline std::size_t byte_width(T c)
1919
{
2020
if constexpr (std::is_signed_v<T>)

0 commit comments

Comments
 (0)