几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】odgepolyline3darray90 (http://www.dimcax.com/hust/showthread.php?t=17682)

yang686526 2009-05-06 08:39 PM

【转帖】odgepolyline3darray90
 
odgepolyline3darray() ?
odgepolyline3darray() ?
hello, all.
have a question about od containers.
was trying to use odgepolyline3darray like that:
odarray<odgepolyline3d, odmemoryallocator(odgepolyline3d) > > odgepolyline3darray;
and got exception at .push_back(<odgepolyline3d>); operation.
is it safe to use std::vector instead?
thanks,
gok
life would be so much easier if we could just look at the source codefff">fff">
what exception?
memory allocator should not be used for odgepolyline3d, it has members with non-trivial constructors.
vladimir

vladimir,
it was general exception (catch(...)).
odarray<odgepolyline3d> odgepolyline3darray; is working.
thanks!
life would be so much easier if we could just look at the source codefff">fff">


所有的时间均为北京时间。 现在的时间是 10:21 PM.