CppUnit project page | FAQ | CppUnit home page

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# CppUnitStack.h

Go to the documentation of this file.

    00001 #ifndef CPPUNIT_PORTABILITY_CPPUNITSTACK_H
    00002 #define CPPUNIT_PORTABILITY_CPPUNITSTACK_H
    00003
    00004 // The technic used is similar to the wrapper of STLPort.
    00005
    00006 #include <cppunit/Portability.h>
    00007 #include <deque>
    00008 #include <stack>
    00009
    00010
    00011 #if CPPUNIT_STD_NEED_ALLOCATOR
    00012
    00013 template<class T>
    00014 class CppUnitStack : public std::stack<T
    00015                                       ,std::deque<T,CPPUNIT_STD_ALLOCATOR> >
    00016 {
    00017 public:
    00018 };
    00019
    00020 #else // CPPUNIT_STD_NEED_ALLOCATOR
    00021
    00022 #define CppUnitStack std::stack
    00023
    00024 #endif
    00025
    00026 #endif // CPPUNIT_PORTABILITY_CPPUNITSTACK_H

| hosts this site. |  | Send comments to: CppUnit Developers