我想写operator<<的std::variant.假设operator<<对于特定变体只有operator<<在变体可以包含的所有类型都有效的情况下才有效.
operator<<
std::variant
c++
c++ ×1