#include <cstdio>
Go to the source code of this file.
Namespaces |
namespace | zypp |
| Easy-to use interface to the ZYPP dependency resolver.
|
Macros |
#define | for_(IT, BEG, END) for ( typeof(BEG) IT = BEG, _for_end = END; IT != _for_end; ++IT ) |
| Convenient for-loops using iterator.
|
#define | for_each_(IT, CONT) for_( IT, CONT.begin(), CONT.end() ) |
#define | arrayBegin(A) (&A[0]) |
| Simple C-array iterator.
|
#define | arraySize(A) (sizeof(A)/sizeof(*A)) |
#define | arrayEnd(A) (&A[0] + arraySize(A)) |
#define | GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) |
#define | nullptr NULL |
Detailed Description
Definition in file Easy.h.
Macro Definition Documentation
#define for_ |
( |
|
IT, |
|
|
|
BEG, |
|
|
|
END |
|
) |
| for ( typeof(BEG) IT = BEG, _for_end = END; IT != _for_end; ++IT ) |
Convenient for-loops using iterator.
std::set<std::string>; <em>store;
for</em>( it, _store.begin(), _store.end() )
{
cout << *it << endl;
}
Definition at line 27 of file Easy.h.
#define for_each_ |
( |
|
IT, |
|
|
|
CONT |
|
) |
| for_( IT, CONT.begin(), CONT.end() ) |
#define arrayBegin |
( |
|
A | ) |
(&A[0]) |
Simple C-array iterator.
const char * defstrings[] = { "", "a", "default", "two words" };
cout << *it << endl;
Definition at line 40 of file Easy.h.
#define arraySize |
( |
|
A | ) |
(sizeof(A)/sizeof(*A)) |
#define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) |