Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

qstl(3) [debian man page]

Qstl(3) 						     Library Functions Manual							   Qstl(3)

NAME
Qstl - support for Forall, Exists, etc in GNU C++ using STL SYNOPSIS
#include <Qstl.h> bool AO(iter,container,exprn) /* Forall */ bool EO(iter,container,exprn) /* Exists */ bool E1O(iter,container,exprn) /* Exists a single */ bool CO(iter,container,exprn) /* Count */ DESCRIPTION
These macros implement predicate calculus operations over Standard Template Library (STL) classes. For example: map<Location,Hatsize,Locationlt> m; AO(i,m,(*i).Hatsize >= 0) Note that the macros can be nested or used in any context that requires boolean values. PORTABILITY
These macros require GNU C or GNU C++. SEE ALSO
nana-clg(1), nana(1), nana(3), I(3), DI(3), L(3), DL(3), Q(3), and nana.info. The nana.info page is the primary documentation for this package. AUTHOR
Phil Maker <pjm@gnu.org> Qstl(3)

Check Out this Related Man Page

DI(3)							     Library Functions Manual							     DI(3)

NAME
DI - verify assertions in C and C++ code using gdb(1) SYNOPSIS
#include <DI.h> DI(exprn) DIG(exprn,guard) DIH(exprn,handler) DIP(exprn,param) DIGH(exprn,guard,handler) DIHP(exprn,handler,param) DIGHP(exprn,guard,handler,param) DS(exprn) DESCRIPTION
The DI(exprn) checks that the exprn is true in the same way as assert(3). It is however implemented by generating debugger commands from the source code and so only works if you run the command under a debugger after source the command file generated by nana(1). exprn - the expression to be checked. guard - the expression is normally only checked if the guard is true. handler - a macro which generates the code that handles the error condition. param - a parameter which can be passed off to the handler. This can be used for identifying the assertion failure in a space-efficent man- ner, e.g. by copying it into a register before aborting. See nana.info for details on configuring the behaviour on error detection, etc. You also need to include the nana library by using -lnana if you use the default setup. In addition to the DI, DIG, etc DI.h also provides DN, DNG, etc which are used to check that an expression is never true. SEE ALSO
nana-clg(1), nana(1), nana(3), I(3), L(3), DL(3), Q(3) and nana.info. The nana.info file is the primary documentation for this library. AUTHOR
Phil Maker <pjm@gnu.org> DI(3)
Man Page

6 More Discussions You Might Find Interesting

1. Solaris

Standard Template Library in Solaris 8.0

Hi Everybody, Can anyone guide me how to install SGI's STL Library on Solaris 8.0 ? Out of SGI's STL and STLPort, which third party STL is suitable, stable and thread-safe for UNIX Platform ? Please guide me over the above issue . Thanks & Regards Dinesh-Ahuja (0 Replies)
Discussion started by: md7ahuja
0 Replies

2. Programming

STL from win

Help me please with STL source code that works on Windows I've found on Inet STL MRU Cache (it compiles fine with Studio 2008), but when trying to build it with Kdevelop (g++ is the compiler) I've got a series of error. One of them I've placed in the source code. If it's important I can post here... (0 Replies)
Discussion started by: Orlando_ua
0 Replies

3. Programming

How to pass message between two different instance.

hi i want to know how two different programs can communicate message between each other? assume i've a.cpp, it is having 2 STL Maps, from b.cpp i want to get the values in that STL Maps. How it is possible. a.cpp and b.cpp are two different instance running in the same machine. Kindly... (1 Reply)
Discussion started by: vij_krr
1 Replies

4. Shell Programming and Scripting

File Exists

Hi, I have scenerio where i need to check 3 files whether they are of current day files and then count should not be equal to zero. how to achieve the same please let me know. Vishal (17 Replies)
Discussion started by: shady4u
17 Replies

5. Programming

Problem with STL's std::set container parameter to the operator << ()

Hi, I have this following code which gives me error when compiling. The problem is happening at the point where I create a const_iterator inside the overloaded insertion operator (i.e) operator << () function. The template argument version of set is not correct I guess. Could anyone please pitch... (3 Replies)
Discussion started by: royalibrahim
3 Replies

6. Programming

Deep copy of structure in C

Hi , I have a scenario where i need to copy the iter to another local variable , where iter is of type MCC_T_SYS_ADDRINFO *iter . struct addrinfo { int ai_flags; int ai_family; int ai_socktype; int ai_protocol; ... (5 Replies)
Discussion started by: breezevinay
5 Replies