- Boost/SmartPointer
* [http://boost.org/ boost] 에 가서 다운받고 설치한다.
* boost 라이브러리는 헤더 파일만이 존재한다. 모든 구현을 헤더 파일에 해 놓았기 때문이다. 바로 필살 헤더와 구현 분리하기 귀잖어 기술....본인은 애용한다...
#include <boost/smart_ptr.hpp>
using namespace boost;
// Boost shared_ptr_example.cpp --------------------------------------------//
// See http://www.boost.org for most recent version including documentation.
#include <boost/shared_ptr.hpp>
typedef boost::shared_ptr<Foo> FooPtr;
// Boost shared_ptr_example2 header file -----------------------------------//
#include <boost/shared_ptr.hpp>
boost::shared_ptr< implementation > _imp; // hide implementation details
// Boost shared_ptr_example2 implementation file -----------------------------//
// Boost shared_ptr_example2_test main program ------------------------------//
["Boost"]
- GenericProgramming
* ["Boost"]
- STL
See Also ["Boost"], ["EffectiveSTL"], ["GenericProgramming"], ["AcceleratedC++"]
- ZeroPageServer/InstalledTool
* ["Boost"]
- lostship
|| ["Boost"] || Boost 라이브러리 설명 ||
|| ["Boost/SmartPointer"] || 스마트 포인터 쓰기 ||
- pragma
하지만, 이러한 경고는 Visual C++ 6.0 에서만 유효한것이고, VS.NET 부터 추가 세팅이 필요 없다. VC++ 6.0 에서는 map은 물론 STLPort 나, [Boost] 사용하는 것을 권장하지 않는다. 더 이상 MS 측의 컴파일러 기술 지원이 없으므로, VS.NET 이상 버전을 사용해야 한다.
Found 6 matching pages out of 7540 total pages
You can also click here to search title.