2009-11-13 5 views

답변

13

편의성 헤더는 일반적으로 Boost뿐만 아니라 일반적으로 함께 사용되는 다른 헤더 (실제 코드 포함)를 포함하는 헤더를 포함합니다 (부스트에서는 그렇지 않습니다). 처음부터 분리됨).

그것은 서로 다르지만 관련 헤더 예 부스트를 들어

을 많이 포함

7

/smart_ptr.hpp 공유 및 범위 포함 포인터 용기 :

// 
// smart_ptr.hpp 
// 
// For convenience, this header includes the rest of the smart 
// pointer library headers. 
// 
// Copyright (c) 2003 Peter Dimov Distributed under the Boost 
// Software License, Version 1.0. (See accompanying file 
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 
// 
// http://www.boost.org/libs/smart_ptr/smart_ptr.htm 
// 

#include <boost/config.hpp> 

#include <boost/scoped_ptr.hpp> 
#include <boost/scoped_array.hpp> 
#include <boost/shared_ptr.hpp> 
#include <boost/shared_array.hpp> 

#if !defined(BOOST_NO_MEMBER_TEMPLATES) || defined(BOOST_MSVC6_MEMBER_TEMPLATES) 
# include <boost/weak_ptr.hpp> 
# include <boost/intrusive_ptr.hpp> 
# include <boost/enable_shared_from_this.hpp> 
#endif 
관련 문제