intializing a std::array of objects that don't have default constructor from another constexpr std::array

后端 未结 0 1219
再見小時候
再見小時候 2021-01-07 00:22

Is it possible to initialize an array of objects whose members are initialized from another constexpr array of trivial objects. For example I have the following



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题