If it points to many things, you are about to die. Return to top of page or to the FAQ . Creating a new AP by copying an existing one transfers ownership of the pointed-to object, which means that the AP being copied must change, which in turn means that the copy ctors of AP do not take const objects. Return to top of page or to the FAQ . If you don't know what functors are, you're not alone.
Many people get slightly the wrong idea.
Return to top of page or to the FAQ . The two members can be accessed directly, as .first and .second . Construction is simple. The default ctor initializes each member with its respective default ctor. The comparison operators are done for you.