mirror of
https://github.com/Relintai/osxcross.git
synced 2025-02-03 22:45:56 +01:00
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; }
|
||
|
|