PIP 6.1.0
Platform-Independent Primitives
Loading...
Searching...
No Matches
PIStringContextTrNoOp Class Reference

Context-aware string wrapper that preserves original strings without translation (no-op). Helper returned by operator""_trNoOp that keeps source text unchanged. More...

#include <pitranslator.h>

Public Member Functions

 PIStringContextTrNoOp (PIString &&s)
 Stores source string without translating it.
 operator PIString () const
 Returns stored string unchanged.
PIString operator() (const PIString &ctx={}) const
 Returns stored string unchanged and ignores "ctx".

Detailed Description

Context-aware string wrapper that preserves original strings without translation (no-op). Helper returned by operator""_trNoOp that keeps source text unchanged.