forked from boostorg/typeof
Removed the vintage implementation and moved compliant implementation to the typeof folder.
[SVN r2570]
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
// Copyright (C) 2004 Arkadiy Vertleyb
|
||||
// Use, modification and distribution is subject to the Boost Software
|
||||
// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <iostream>
|
||||
#include "odr.hpp"
|
||||
|
||||
using namespace std;
|
||||
|
||||
void odr_test2()
|
||||
{
|
||||
#if! BOOST_WORKAROUND(BOOST_MSVC,==1300)
|
||||
char i = 5;
|
||||
double d = 3.14;
|
||||
cout << sum(d, i) << endl;
|
||||
cout << sum(i, d) << endl;
|
||||
cout << make_sum(d, i)() << endl;
|
||||
cout << make_sum(i, d)() << endl;
|
||||
#endif
|
||||
}
|
||||
Reference in New Issue
Block a user