scope4.c

来自「this is a gcc file, you can download it 」· C语言 代码 · 共 32 行

C
32
字号
// Build don't link: // GROUPS passed scopingclass BitString {public:    int i;    int length() const;};typedef BitString BS;class V {public:    class BitString {    public:        static int x(const ::BitString& value);      static int y(const class ::BitString& value); // should be parsed ok        static int z(const BS& value);    };};intV::BitString::x(const ::BitString& value){ return value.length(); }intV::BitString::y(const class ::BitString& value) // should be parsed ok{ return value.length(); }intV::BitString::z(const BS& value){ return value.length(); }

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?