Renamed foo<> to fix MSVC 7 problems

[SVN r11251]
This commit is contained in:
Peter Dimov
2001-09-25 18:44:07 +00:00
parent d5be6be4d6
commit 7c05d06353

View File

@@ -16,16 +16,16 @@
namespace boost_no_explicit_function_template_arguments{
template <int i>
bool foo(int j)
bool foo_17041(int j)
{
return (i == j);
}
int test()
{
if(0 == foo<8>(8)) return -1;
if(0 == foo<4>(4)) return -1;
if(0 == foo<5>(5)) return -1;
if(0 == foo_17041<8>(8)) return -1;
if(0 == foo_17041<4>(4)) return -1;
if(0 == foo_17041<5>(5)) return -1;
return 0;
}