forked from OSchip/llvm-project
parent
8f2f7e7c79
commit
5cf4e1f1f0
|
@ -27,4 +27,4 @@ public:
|
||||||
|
|
||||||
int A::count = 0;
|
int A::count = 0;
|
||||||
|
|
||||||
#endif
|
#endif // A_H
|
||||||
|
|
|
@ -38,4 +38,4 @@ public:
|
||||||
|
|
||||||
int B::count = 0;
|
int B::count = 0;
|
||||||
|
|
||||||
#endif
|
#endif // AB_H
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
|
|
||||||
// template <class X>
|
// template <class X>
|
||||||
// class auto_ptr
|
// class auto_ptr
|
||||||
// {
|
// {
|
||||||
// public:
|
// public:
|
||||||
// typedef X element_type;
|
// typedef X element_type;
|
||||||
// ...
|
// ...
|
||||||
// };
|
// };
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
|
|
||||||
// <complex.h>
|
// <complex.h>
|
||||||
|
|
||||||
|
|
||||||
#include <complex.h>
|
#include <complex.h>
|
||||||
|
|
||||||
#ifndef _LIBCPP_VERSION
|
#ifndef _LIBCPP_VERSION
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
// License. See LICENSE.TXT for details.
|
// License. See LICENSE.TXT for details.
|
||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// test <float.h>
|
// test <float.h>
|
||||||
|
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
// License. See LICENSE.TXT for details.
|
// License. See LICENSE.TXT for details.
|
||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// test limits.h
|
// test limits.h
|
||||||
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// <ios>
|
// <ios>
|
||||||
//
|
//
|
||||||
// class ios_base
|
// class ios_base
|
||||||
// {
|
// {
|
||||||
// public:
|
// public:
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// <ios>
|
// <ios>
|
||||||
//
|
//
|
||||||
// class ios_base
|
// class ios_base
|
||||||
// {
|
// {
|
||||||
// public:
|
// public:
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// <ios>
|
// <ios>
|
||||||
//
|
//
|
||||||
// class ios_base
|
// class ios_base
|
||||||
// {
|
// {
|
||||||
// public:
|
// public:
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// <ios>
|
// <ios>
|
||||||
//
|
//
|
||||||
// class ios_base
|
// class ios_base
|
||||||
// {
|
// {
|
||||||
// public:
|
// public:
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// <ios>
|
// <ios>
|
||||||
//
|
//
|
||||||
// class ios_base
|
// class ios_base
|
||||||
// {
|
// {
|
||||||
// public:
|
// public:
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
// <functional>
|
// <functional>
|
||||||
|
|
||||||
// template <class Fn, class T>
|
// template <class Fn, class T>
|
||||||
// binder1st<Fn>
|
// binder1st<Fn>
|
||||||
// bind1st(const Fn& fn, const T& x);
|
// bind1st(const Fn& fn, const T& x);
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
// <functional>
|
// <functional>
|
||||||
|
|
||||||
// template <class Fn, class T>
|
// template <class Fn, class T>
|
||||||
// binder2nd<Fn>
|
// binder2nd<Fn>
|
||||||
// bind2nd(const Fn& op, const T& x);
|
// bind2nd(const Fn& op, const T& x);
|
||||||
|
|
||||||
|
|
|
@ -9,18 +9,18 @@
|
||||||
|
|
||||||
// <functional>
|
// <functional>
|
||||||
|
|
||||||
// template <class Fn>
|
// template <class Fn>
|
||||||
// class binder1st
|
// class binder1st
|
||||||
// : public unary_function<typename Fn::second_argument_type, typename Fn::result_type>
|
// : public unary_function<typename Fn::second_argument_type, typename Fn::result_type>
|
||||||
// {
|
// {
|
||||||
// protected:
|
// protected:
|
||||||
// Fn op;
|
// Fn op;
|
||||||
// typename Fn::first_argument_type value;
|
// typename Fn::first_argument_type value;
|
||||||
// public:
|
// public:
|
||||||
// binder2nd(const Fn& x, const typename Fn::second_argument_type& y);
|
// binder2nd(const Fn& x, const typename Fn::second_argument_type& y);
|
||||||
//
|
//
|
||||||
// typename Fn::result_type operator()(const typename Fn::first_argument_type& x) const;
|
// typename Fn::result_type operator()(const typename Fn::first_argument_type& x) const;
|
||||||
// typename Fn::result_type operator()(typename Fn::first_argument_type& x) const;
|
// typename Fn::result_type operator()(typename Fn::first_argument_type& x) const;
|
||||||
// };
|
// };
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|
|
@ -9,18 +9,18 @@
|
||||||
|
|
||||||
// <functional>
|
// <functional>
|
||||||
|
|
||||||
// template <class Fn>
|
// template <class Fn>
|
||||||
// class binder2nd
|
// class binder2nd
|
||||||
// : public unary_function<typename Fn::first_argument_type, typename Fn::result_type>
|
// : public unary_function<typename Fn::first_argument_type, typename Fn::result_type>
|
||||||
// {
|
// {
|
||||||
// protected:
|
// protected:
|
||||||
// Fn op;
|
// Fn op;
|
||||||
// typename Fn::second_argument_type value;
|
// typename Fn::second_argument_type value;
|
||||||
// public:
|
// public:
|
||||||
// binder2nd(const Fn& x, const typename Fn::second_argument_type& y);
|
// binder2nd(const Fn& x, const typename Fn::second_argument_type& y);
|
||||||
//
|
//
|
||||||
// typename Fn::result_type operator()(const typename Fn::first_argument_type& x) const;
|
// typename Fn::result_type operator()(const typename Fn::first_argument_type& x) const;
|
||||||
// typename Fn::result_type operator()(typename Fn::first_argument_type& x) const;
|
// typename Fn::result_type operator()(typename Fn::first_argument_type& x) const;
|
||||||
// };
|
// };
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|
|
@ -30,4 +30,4 @@ public:
|
||||||
{return x*y;}
|
{return x*y;}
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // TEST_FUNC_H
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
// class strstreambuf
|
// class strstreambuf
|
||||||
|
|
||||||
// pos_type seekoff(off_type off, ios_base::seekdir way,
|
// pos_type seekoff(off_type off, ios_base::seekdir way,
|
||||||
// ios_base::openmode which = ios_base::in | ios_base::out);
|
// ios_base::openmode which = ios_base::in | ios_base::out);
|
||||||
|
|
||||||
#include <strstream>
|
#include <strstream>
|
||||||
|
|
Loading…
Reference in New Issue