42 using LERR_(ITER_EXHAUST);
67 CHECK (isnil (queue));
76 CHECK (!isnil (queue));
82 CHECK (3 == queue.pop());
86 CHECK (isnil (queue));
94 queue = build(queue).usingSequence (
elements (23,45));
102 CHECK (45 == *queue);
104 CHECK (67 == *queue);
106 CHECK (isnil (queue));
108 CHECK (89 == *queue);
IterQueue< T > elements(T const &elm)
convenience free function to build an iterable sequence
Conveniently iterable stack and queue containers.
#define VERIFY_ERROR(ERROR_ID, ERRONEOUS_STATEMENT)
Macro to verify that a statement indeed raises an exception.
Implementation namespace for support and library code.
A Queue which can be pulled by iterating.
Simple test class runner.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...
A collection of frequently used helper functions to support unit testing.