2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-26 18:52:10 +00:00
Files
math/test/test_instantiate1.cpp
John Maddock 605c55e00e Added workarounds for IBM xlc C++: the compiler can't resolve an overloaded function template to a function pointer unless the template arguments are explicitly provided.
Fixed some bugs uncovered by the above workaround: some forward declarations didn't match the actual definition!
Hopefully fixed remaining Sun compiler issues: mostly fixed by above fixes anyway.

[SVN r41142]
2007-11-16 11:30:43 +00:00

21 lines
444 B
C++

// Copyright John Maddock 2006.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include "compile_test/instantiate.hpp"
extern void other_test();
int main(int argc, char* [])
{
if(argc > 10000)
{
instantiate(double(0));
instantiate_mixed(double(0));
other_test();
}
}