osxcross/tools/stdlib-test.cpp
Thomas Pöchtrager 4a685dbe73 cctools 855 + ld64 236.3
also add 'cctools 855 + ld64 134.9' as fallback for systems without
an up-to-date C++ standard library
2014-05-10 16:17:16 +02:00

17 lines
291 B
C++

#include <utility>
template <typename V> struct Node {
V value;
template <typename... Args>
Node(Args &&... args)
: value(std::forward<Args>(args)...) {}
};
void foo(std::pair<int const, int> const &p) {
Node<std::pair<int const, int>> node(p);
}
int main() { return 0; }