为什么不能在类外声明 C++ 中的静态方法?

问题描述 投票:0回答:0

例如

static void foo::bar();

新版本的 C++ 会允许这样的声明吗?

c++ syntax
© www.soinside.com 2019 - 2024. All rights reserved.