However, if you assume a specific compiler and a specific system, it may be doable, and fortunately, with GCC on Linux, it is.
不过,如果假定有一个特定编译器和一个特定系统,那么可能可以这样做,幸运的是,对于Linux上的GCC,恰好是这种情况。
For some of the utilities like is_enum, there is no easy way to do this, and the implementation has to depend on specific compiler sources to achieve the desired result.
对于is_enum等一些实用程序,没有实现此目标的轻松方法,必须依赖于具体的编译器来源来实现想要的结果。
应用推荐