When my test program gets to the cout << a; line i get
a external error. As far as i can tell the library is setup right.
I had no problem using tuples in other programs but cant seem to
print them. The documentation doesn't list this feature as broken on
my compiler or any compiler for that matter. Im using MSVSC++ btw.
#include <iostream>
#include
using namespace std;
using namespace boost;
int main ()
{
tuple a (23,42);
cout << a;
return 0;
}
heres the error verbatim:
--------------------Configuration: Tuple - Win32 Debug----------------
----
Compiling...
Test.cpp
Linking...
Test.obj : error LNK2001: unresolved external symbol "private: static
int const * const boost::tuples::detail::format_info::stream_index"
(?stream_index@format_info@detail@tuples@boost@@0QBHB)
Debug/Tuple.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Creating browse info file...
Tuple.exe - 2 error(s), 0 warning(s)