mirror of
https://github.com/Relintai/osxcross.git
synced 2025-02-03 22:45:56 +01:00
4a685dbe73
also add 'cctools 855 + ld64 134.9' as fallback for systems without an up-to-date C++ standard library
17 lines
291 B
C++
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; }
|
|
|