24#ifndef NAWA_EMAILADDRESS_H
25#define NAWA_EMAILADDRESS_H
83 [[nodiscard]] std::string
get(
bool includeName =
true,
bool applyPunycode =
true)
const;
93 [[nodiscard]]
bool isValid()
const;
std::string get(bool includeName=true, bool applyPunycode=true) const
std::string & address() noexcept
std::string & name() noexcept
Macros for frequently used patterns.
#define NAWA_COMPLEX_DATA_ACCESSORS_DEF(Class, Member, Type)
#define NAWA_DEFAULT_DESTRUCTOR_DEF(Class)
#define NAWA_DEFAULT_CONSTRUCTOR_DEF(Class)
#define NAWA_MOVE_CONSTRUCTOR_DEF(Class)
#define NAWA_COPY_ASSIGNMENT_OPERATOR_DEF(Class)
#define NAWA_PRIVATE_DATA()
#define NAWA_MOVE_ASSIGNMENT_OPERATOR_DEF(Class)
#define NAWA_COPY_CONSTRUCTOR_DEF(Class)