From e660c7261f0b1323ce249f70566f3b783c67c5b6 Mon Sep 17 00:00:00 2001 From: bolero-MURAKAMI Date: Sat, 17 Dec 2011 21:43:40 +0900 Subject: [PATCH] =?UTF-8?q?basic=5Fstring=20=E3=81=AE=E6=9A=97=E9=BB=99?= =?UTF-8?q?=E5=A4=89=E6=8F=9B=E3=82=92=20SFINAE=20=E3=81=AB=E5=A4=89?= =?UTF-8?q?=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sprout/string.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sprout/string.hpp b/sprout/string.hpp index 6e8cb4d5..e694d5b4 100644 --- a/sprout/string.hpp +++ b/sprout/string.hpp @@ -507,9 +507,8 @@ namespace sprout { ; } // others: - template + template N)>::type> SPROUT_CONSTEXPR operator basic_string() const { - static_assert(N <= N2, "basic_string<>: implicit conversion to small string"); return implicit_conversion_impl( elems, len,