[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XML Schema equivClass.

  • From: "Fabio Arciniegas A." <fabio@v...>
  • To: Steve Harris <sharris@p...>
  • Date: Thu, 03 Feb 2000 16:06:57 -0500

Re: XML Schema equivClass.
> > But with pointers, you cannot really use the STL (no wonder if you
> > read what the STL author thinks of OOP). So you also need some
> > wrapper classes....
> 
> We use the Standard C++ containers with pointers all the time. You can
> take a container of A*'s, put your A*'s and B*'s (and any other types
> derived from A) into it, and call polymorphic methods on the elements
> using the std::mem_fun* functors.

Right. Also some people in the idioms arena have defined cannonical
C++ classes that define internal classes intended to serve only as
function objects, so pointers can be gracefully handled in STL using
the function versions that accept a predicate as the last param... 

but this is *way* off-topic...sorry.

F.

--
Fabio Arciniegas A.		        Viaduct Technologies, Inc.
fabio@v...			Software Engineer
Interests: XML, Wittgenstein and just about everything in between.
Oblique Strategy of the day: 	      "Abandon normal instruments"


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.