QtPass 1.6.0
Multi-platform GUI for pass, the standard unix password manager.
Loading...
Searching...
No Matches
helpers.h File Reference

Utility macros for QtPass. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define AS_CONST(x)
 Cross-platform const_cast for range-based for loops.

Detailed Description

Utility macros for QtPass.

Definition in file helpers.h.

Macro Definition Documentation

◆ AS_CONST

#define AS_CONST ( x)
Value:
qAsConst(x)

Cross-platform const_cast for range-based for loops.

Provides std::as_const (C++17) or qAsConst (older) for safe iteration over containers that might be modified.

Examples
/home/annejan/Projects/QtPass/src/pass.cpp.

Definition at line 20 of file helpers.h.