Skip to content

Commit 75dd369

Browse files
committed
Add default bounds to bounded_int
1 parent 92dc295 commit 75dd369

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/bitstream/traits/integral_traits.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace bitstream
1616
* @brief Wrapper type for compiletime known integer bounds
1717
* @tparam T
1818
*/
19-
template<typename T, T, T>
19+
template<typename T, T = (std::numeric_limits<T>::min)(), T = (std::numeric_limits<T>::max)()>
2020
struct bounded_int;
2121

2222
#pragma region integral types

0 commit comments

Comments
 (0)