mirror of
https://github.com/boostorg/functional.git
synced 2025-08-02 05:54:29 +02:00
Add pair to container_fwd_test.
[SVN r32582]
This commit is contained in:
@@ -62,6 +62,11 @@ static void test(std::complex<T> const&)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
template <class X, class Y>
|
||||||
|
static void test(std::pair<X, Y> const&)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
#include <deque>
|
#include <deque>
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -70,6 +75,7 @@ static void test(std::complex<T> const&)
|
|||||||
#include <bitset>
|
#include <bitset>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <complex>
|
#include <complex>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
@@ -84,6 +90,7 @@ int main()
|
|||||||
std::bitset<10> x9;
|
std::bitset<10> x9;
|
||||||
std::string x10;
|
std::string x10;
|
||||||
std::complex<double> x11;
|
std::complex<double> x11;
|
||||||
|
std::pair<std::list<int>, char***> x12;
|
||||||
|
|
||||||
test(x1);
|
test(x1);
|
||||||
test(x2);
|
test(x2);
|
||||||
@@ -96,6 +103,7 @@ int main()
|
|||||||
test(x9);
|
test(x9);
|
||||||
test(x10);
|
test(x10);
|
||||||
test(x11);
|
test(x11);
|
||||||
|
test(x12);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user