O*d
2 楼
没有
j*g
3 楼
nor does C#
L*r
5 楼
first, serialize is not a feature of language. it can be a feature provided
by sdk. c++ can implement serialize for sure but there might be no standard
way in c++.
the serialize in .net or c# is very good.
first you define the content to be serialized using different pattern. it
can be very simple or complicate. the simple way is to use marker attribute(
the annotation in java). this simple way is almost same as java.
second, you define what is the target format for serialized content. the
forma
【在 g*****g 的大作中提到】
: How does C# replicate a web session if there's no standard way
: to serialize objects?
by sdk. c++ can implement serialize for sure but there might be no standard
way in c++.
the serialize in .net or c# is very good.
first you define the content to be serialized using different pattern. it
can be very simple or complicate. the simple way is to use marker attribute(
the annotation in java). this simple way is almost same as java.
second, you define what is the target format for serialized content. the
forma
【在 g*****g 的大作中提到】
: How does C# replicate a web session if there's no standard way
: to serialize objects?
g*g
6 楼
Sure C++ can provide serialization, but probably not
without some custom scheme, which is due to its lack of
reflection mechanism. i.e. You can't just say I want to serialize
this object and let SDK do it, at least not in object code level,
you have to provide an implementation to
actually do that. Correct me if I am wrong in that.
provided
standard
attribute(
【在 L*********r 的大作中提到】
: first, serialize is not a feature of language. it can be a feature provided
: by sdk. c++ can implement serialize for sure but there might be no standard
: way in c++.
: the serialize in .net or c# is very good.
: first you define the content to be serialized using different pattern. it
: can be very simple or complicate. the simple way is to use marker attribute(
: the annotation in java). this simple way is almost same as java.
: second, you define what is the target format for serialized content. the
: forma
without some custom scheme, which is due to its lack of
reflection mechanism. i.e. You can't just say I want to serialize
this object and let SDK do it, at least not in object code level,
you have to provide an implementation to
actually do that. Correct me if I am wrong in that.
provided
standard
attribute(
【在 L*********r 的大作中提到】
: first, serialize is not a feature of language. it can be a feature provided
: by sdk. c++ can implement serialize for sure but there might be no standard
: way in c++.
: the serialize in .net or c# is very good.
: first you define the content to be serialized using different pattern. it
: can be very simple or complicate. the simple way is to use marker attribute(
: the annotation in java). this simple way is almost same as java.
: second, you define what is the target format for serialized content. the
: forma
L*r
7 楼
you are right. at least, it is the way that i did in c++, even it is
interface based but still need to manually write code to write/read data
into archive stream.
【在 g*****g 的大作中提到】
: Sure C++ can provide serialization, but probably not
: without some custom scheme, which is due to its lack of
: reflection mechanism. i.e. You can't just say I want to serialize
: this object and let SDK do it, at least not in object code level,
: you have to provide an implementation to
: actually do that. Correct me if I am wrong in that.
:
: provided
: standard
: attribute(
interface based but still need to manually write code to write/read data
into archive stream.
【在 g*****g 的大作中提到】
: Sure C++ can provide serialization, but probably not
: without some custom scheme, which is due to its lack of
: reflection mechanism. i.e. You can't just say I want to serialize
: this object and let SDK do it, at least not in object code level,
: you have to provide an implementation to
: actually do that. Correct me if I am wrong in that.
:
: provided
: standard
: attribute(
y*i
8 楼
相关阅读
请问有没有用过IMSL库的大虾? (转载)singleton 中的 inner class3D FDTD/FEM codes needed最初级的白痴C++问题请问一个implicit conversion的问题(C++)问个GSL的问题random number generator in C++Perl programming请教gcc和vc问一个IBM MQ的问题两个class的交叉引用问题PicutureBox and GIFc++ exception还请教一个关于C++的问题C++ 进阶问题how to include header file in other directory?language popularity请问一下怎么把自己写的类转成STL的类?请问heap sort 数组时数组用preorder顺序存储怎么实现?关于effective c++的几个问题