[Boost-bugs] [Boost C++ Libraries] #4548: typo in factory documentation example code

Subject: [Boost-bugs] [Boost C++ Libraries] #4548: typo in factory documentation example code
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-08-17 08:57:09


#4548: typo in factory documentation example code
---------------------------------------------------+------------------------
 Reporter: Erik Sjölund <erik.sjolund@…> | Owner: t_schwinger
     Type: Bugs | Status: new
Milestone: Boost 1.44.0 | Component: functional/factory
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: |
---------------------------------------------------+------------------------
 At this page:
 http://www.boost.org/doc/libs/1_44_0/libs/functional/factory/doc/html/index.html

 this line seems wrong:

     std::auto_ptr<an_abstract_factory> x = factories[some_name]->create();

 I think it should be:
     std::auto_ptr<an_abstract_class> x = factories[some_name]->create();

 cheers, [[br]]
 Erik Sjölund

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4548>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:04 UTC