mirror of
https://github.com/boostorg/typeof.git
synced 2025-05-09 23:14:01 +00:00
Support typeof emulation for DMC: Integral argument support.
[SVN r35022]
This commit is contained in:
parent
86964f046d
commit
24230afadb
@ -68,9 +68,8 @@ namespace boost { namespace type_of {
|
||||
{};
|
||||
|
||||
template<class V, class T, T n>
|
||||
struct encode_integral : encode_size_t< V, (typename get_unsigned<T>::type)n >
|
||||
struct encode_integral : encode_size_t< V, (typename get_unsigned<T>::type)n,(((typename get_unsigned<T>::type)n)>=0x3fffffff) >
|
||||
{};
|
||||
|
||||
///////////////////////////
|
||||
|
||||
template<std::size_t n, class Iter, bool overflow>
|
||||
|
Loading…
x
Reference in New Issue
Block a user