Home > Net >  Cannot find std::experimental::when_any
Cannot find std::experimental::when_any

Time:01-06

I am trying to use std::experimental::when_any and std::experimental::when_all which according to Anthony Williams are in <experimental/future> header.

I am using Visual Studio 2022 (same is for 2019) and cannot find this header/functions neither under C 17 standard nor under C 20 standard configurations.

Can someone please help to reach this functions in VS?

CodePudding user response:

The experimental headers are not part of the standard. An implementation may provide them, but is not required to.

They are defined for features that the C committee is working on incorporating into a future standard.

Neither Visual Studio 2019 nor 2022 provide <experimental/future>

  •  Tags:  
  • Related