Base type selecting copy/move capabilities from the given flags.

Synopsis

Declared in <folly/Utility.h>

template<
    bool Copy,
    bool Move>
using EnableCopyMove = std::conditional_t<Copy, Default, std::conditional_t<Move, MoveOnly, NonCopyableNonMovable>>;

Created with MrDocs