ho risolto questo problema, adesso semre sul forwarding ne ho un altro:
gli auto_ptr<>
codice:
Error 1 error C2664: 'ifcXML::IFC2x3::FINAL::base_IfcCompositeCurve::base_IfcCompositeCurve(const ifcXML::IFC2x3::FINAL::base_IfcCompositeCurve &,xml_schema::flags,xsd::cxx::tree::_type *)' : cannot convert parameter 2 from 'const std::auto_ptr<ifcXML::IFC2x3::FINAL::base_IfcCompositeCurve::Segments_type>' to 'const ifcXML::IFC2x3::FINAL::base_IfcCompositeCurve::Segments_type &' c:\ifc\dllifc\ifc\ifc2x3.hxx 93 dllIfc (Microsoft Visual C++ Compiler Nov 2012 CTP) 1
ho un costruttore del tipo:
codice:
void
Segments (::std::auto_ptr< Segments_type > p);
[code]
riporto una parte della classe, magari potrebbe essere utile:
codice:
class IFC_EXP base_IfcCompositeCurve: public ::ifcXML::IFC2x3::FINAL::IfcBoundedCurve
{
public:
// Segments
//
typedef ::ifcXML::IFC2x3::FINAL::Segments Segments_type;
typedef ::xsd::cxx::tree::traits< Segments_type, char > Segments_traits;
const Segments_type&
Segments () const;
Segments_type&
Segments ();
void
Segments (const Segments_type& x);
void
Segments (::std::auto_ptr< Segments_type > p);
l'::std::auto_ptr è un template potrebbe essere quello che da il problema?
posso sistemare in qualche modo?
o non ho centrato il problema?
grazie.