его компилятором постарше, где еще 14 стандарт, и писать
                  
                  
                  std::experimantal::apply
                  
                  
                  вместо
                  
                  
                  std::apply
                  
                  
                  это то же самое будет?
                  
                  
                
можешь вот так выкручиваться #ifdef __has_include # if __has_include(<optional>) # include <optional> # define have_optional 1 # elif __has_include(<experimental/optional>) # include <experimental/optional> # define have_optional 1 # define experimental_optional # else # define have_optional 0 # endif #endif
Обсуждают сегодня