<?xml version="1.0" encoding="utf-8"?>
<!--
   Copyright (c) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
  
   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)
  -->
<!DOCTYPE header PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN"
  "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
<header name="boost/signals/slot.hpp" last-revision="$Date: 2006/11/03 19:45:41 $">
  <namespace name="boost">
    <class name="slot">
      <template>
        <template-type-parameter name="SlotFunction"/>
      </template>
 
      <purpose>Pass slots as function arguments.</purpose>

      <constructor>
        <template>
          <template-type-parameter name="Slot"/>
        </template>

        <parameter name="target">
          <paramtype>Slot</paramtype>
        </parameter>

        <effects><para>Invokes
        <code><functionname>visit_each</functionname></code>
        (unqualified) to discover pointers and references to
        <code><classname>signals::trackable</classname></code>
        objects in <code>target</code>.</para>

          <para>Initializes <code>this</code> to
          contain the incoming slot
          <code>target</code>, which may be any
          function object with which a
          <code>SlotFunction</code> can be
          constructed.</para></effects>
      </constructor>
    </class>
  </namespace>
</header>