forked from boostorg/config
Renamed foo<> to fix MSVC 7 problems
[SVN r11251]
This commit is contained in:
1 parent
d5be6be4d6
commit
7c05d06353
1 file changed
+4
-4
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user