mirror of
https://github.com/boostorg/python.git
synced 2026-01-25 06:22:15 +00:00
add a readable functor map that calls a given functor or function upon lookup. Ideas from: http://comments.gmane.org/gmane.comp.lib.boost.user/54397 and: http://comments.gmane.org/gmane.comp.lib.boost.user/73358 [SVN r77438]
7 lines
242 B
C++
7 lines
242 B
C++
// Copyright David Abrahams 2005. 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)
|
|
|
|
#define HELD_BY_AUTO_PTR
|
|
#include "polymorphism2.cpp"
|