summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/CPlusPlusUtil.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2002-07-15 07:30:13 +0000
committerMichi Henning <michi@zeroc.com>2002-07-15 07:30:13 +0000
commit7b1978c56782345114d68f8372d12450323454f9 (patch)
treed7cb74c4cc1550f2b2063fc6579c666c9d3c3e54 /cpp/src/Slice/CPlusPlusUtil.cpp
parentdictionary restrictions (diff)
downloadice-7b1978c56782345114d68f8372d12450323454f9.tar.bz2
ice-7b1978c56782345114d68f8372d12450323454f9.tar.xz
ice-7b1978c56782345114d68f8372d12450323454f9.zip
Refactored the error checks for multiple inheritance, constant defintions,
and dictionary definitions: the check is now down as a static member function of the respective types, instead of being inside Contained, before the type is created. Ideally, Contained shouldn't be calling new directly. Instead, each type should provide a static factory operation to create a new instance, and all the semantic checks should happen inside that factory. I haven't changed anything along those lines though -- want to talk to Marc first. This is quite an interesting design problem...
Diffstat (limited to 'cpp/src/Slice/CPlusPlusUtil.cpp')
0 files changed, 0 insertions, 0 deletions