对象模型是对类的一种安排,它通过各种属性和方法公开类的功能。
Object models are an arrangement of classes that expose functionality through various properties and methods.
当您在类范围中使用BOOST_STATIC_ASSERT时,它是私有的、受保护的还是公开的并不重要。
When you use a BOOST_STATIC_ASSERT in class scope, it doesn't matter whether it's declared private, protected, or public.
例如,可以将一个类公开为Web服务。
应用推荐