[Development] Question about QCoreApplicationData::*_libpaths

Kevin Kofler kevin.kofler at chello.at
Wed Jan 6 19:21:20 CET 2016

Marc Mutz wrote:
> 1. We'd need to rename the copy, and how, without requiring template
>    aliases, would we then use one or the other (if we don't rename, we'll
>    run afoul of the ODR)

Just use good old #define:
#define Q_OPTIONAL std::optional
#define Q_OPTIONAL std::experimental::optional
#define Q_OPTIONAL QtPrivate::optional

        Kevin Kofler

More information about the Development mailing list