From 935b36d8f5347a58620a369af97a7707b61bc446 Mon Sep 17 00:00:00 2001 From: Peder Holt Date: Wed, 6 Sep 2006 17:12:45 +0000 Subject: [PATCH] Merged from HEAD: Support typeof emulation for DMC: Integral argument support. [SVN r35024] --- include/boost/typeof/int_encoding.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/boost/typeof/int_encoding.hpp b/include/boost/typeof/int_encoding.hpp index 3078b69..dea1bbd 100755 --- a/include/boost/typeof/int_encoding.hpp +++ b/include/boost/typeof/int_encoding.hpp @@ -68,9 +68,8 @@ namespace boost { namespace type_of { {}; template - struct encode_integral : encode_size_t< V, (typename get_unsigned::type)n > + struct encode_integral : encode_size_t< V, (typename get_unsigned::type)n,(((typename get_unsigned::type)n)>=0x3fffffff) > {}; - /////////////////////////// template