📄 illegaldictionary.ice
字号:
// **********************************************************************//// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved.//// This copy of Ice is licensed to you under the terms described in the// ICE_LICENSE file included in this distribution.//// **********************************************************************module Test{dictionary<bool, long> d1; // OKdictionary<byte, long> d2; // OKdictionary<short, long> d3; // OKdictionary<int, long> d4; // OKdictionary<long, long> d5; // OKdictionary<string, long> d6; // OKdictionary<float, long> b1; // Baddictionary<double, long> b2; // Baddictionary<Object, long> b3; // Baddictionary<Object*, long> b4; // Baddictionary<LocalObject, long> b5; // Badsequence<byte> s1;dictionary<s1, long> d7; // OKsequence<float> s2;dictionary<s2, long> b6; // Badsequence<s1> s3;dictionary<s3, long> b7; // OKstruct st1{ long x; long y;};dictionary<st1, long> d8; // OKstruct st2{ long x; float y;};dictionary<st2, long> b8; // Badenum e { e1, e2 };dictionary<e, long> d9; // OKsequence<e> s4;dictionary<s4, long> d10; // OKdictionary<d9, long> b9; // Bad};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -