C++: Show const/constexpr value before build

已回答

Is it possible to show compile-time evaluated value for const/constexpr variables? 

For instance, I'd like to be able to know the value of `sizeof(void*)` by hovering the mouse over it. Or a value of any other variable wich can be evaluated at compile time, like it is possible in Visual Studio.

1

请先登录再写评论。