📄 ogreiteratorwrappers.patch
字号:
diff -Naur original/OgreIteratorWrappers.h patched/OgreIteratorWrappers.h
--- original/OgreIteratorWrappers.h Fri May 14 21:39:46 2004
+++ patched/OgreIteratorWrappers.h Thu Jul 1 18:48:22 2004
@@ -52,6 +52,8 @@
/// Private constructor since only the parameterised constructor should be used
VectorIterator() {};
public:
+ typedef typename T::value_type ValueType;
+
/** Constructor.
@remarks
Provide a start and end iterator to initialise.
@@ -115,6 +117,9 @@
/// Private constructor since only the parameterised constructor should be used
MapIterator() {};
public:
+ typedef typename T::mapped_type MappedType;
+ typedef typename T::key_type KeyType;
+
/** Constructor.
@remarks
Provide a start and end iterator to initialise.
@@ -190,6 +195,8 @@
/// Private constructor since only the parameterised constructor should be used
ConstVectorIterator() {};
public:
+ typedef typename T::value_type ValueType;
+
/** Constructor.
@remarks
Provide a start and end iterator to initialise.
@@ -253,6 +260,9 @@
/// Private constructor since only the parameterised constructor should be used
ConstMapIterator() {};
public:
+ typedef typename T::mapped_type MappedType;
+ typedef typename T::key_type KeyType;
+
/** Constructor.
@remarks
Provide a start and end iterator to initialise.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -