代码搜索:ptr
找到约 10,000 项符合「ptr」的源代码
代码结果 10,000
www.eeworm.com/read/436538/7768326
cpp smart-ptr.cpp
/*
* This file contains code from "C++ Primer, Fourth Edition", by Stanley B.
* Lippman, Jose Lajoie, and Barbara E. Moo, and is covered under the
* copyright and warranty notices given in that
www.eeworm.com/read/436538/7768327
cpp plain-ptr.cpp
/*
* This file contains code from "C++ Primer, Fourth Edition", by Stanley B.
* Lippman, Jose Lajoie, and Barbara E. Moo, and is covered under the
* copyright and warranty notices given in that
www.eeworm.com/read/436514/7768846
cpp dbl_ptr.cpp
/*
* This file contains code from "C++ Primer, Fourth Edition", by Stanley B.
* Lippman, Jose Lajoie, and Barbara E. Moo, and is covered under the
* copyright and warranty notices given in that
www.eeworm.com/read/436514/7768851
cpp ptr_traversal.cpp
/*
* This file contains code from "C++ Primer, Fourth Edition", by Stanley B.
* Lippman, Jose Lajoie, and Barbara E. Moo, and is covered under the
* copyright and warranty notices given in that
www.eeworm.com/read/436514/7768967
cpp value-ptr.cpp
#include
using std::ostream; using std::cout; using std::endl;
#include
class HasPtr {
public:
// no point to passing a pointer if we're going to copy it anyway
//
www.eeworm.com/read/436514/7768969
cpp smart-ptr.cpp
#include
using std::ostream; using std::cout; using std::endl;
#include
#include
using std::size_t;
//private class for use by HasPtr only
class U_Ptr {
friend
www.eeworm.com/read/436514/7768970
cpp plain-ptr.cpp
#include
using std::ostream; using std::cout; using std::endl;
#include
// class that has a pointer member that behaves like a plain pointer
class HasPtr {
public:
frie
www.eeworm.com/read/436514/7768973
cpp value-ptr.cpp
/*
* This file contains code from "C++ Primer, Fourth Edition", by Stanley B.
* Lippman, Jose Lajoie, and Barbara E. Moo, and is covered under the
* copyright and warranty notices given in that
www.eeworm.com/read/436514/7768977
cpp smart-ptr.cpp
/*
* This file contains code from "C++ Primer, Fourth Edition", by Stanley B.
* Lippman, Jose Lajoie, and Barbara E. Moo, and is covered under the
* copyright and warranty notices given in that
www.eeworm.com/read/436514/7768978
cpp plain-ptr.cpp
/*
* This file contains code from "C++ Primer, Fourth Edition", by Stanley B.
* Lippman, Jose Lajoie, and Barbara E. Moo, and is covered under the
* copyright and warranty notices given in that