C++模板库 libsigc++

fmms 12年前
     <p>libsigc++是实现类型安全回调的一个C++模板库。</p>    <p>libsigc++提供了信号(signal)和槽(slot)的概念,实现了信号机制。slot对应一个回调函数,信号(signal)与槽(slot)相关联(attach),当一个信号被发射(emit)时,相对应的槽被调用。</p>    <ul>     <li>Compile time typesafe callbacks (faster than run time checks)</li>     <li>Typesafety violations report line number correctly with template names (no tracing template failures into headers)</li>     <li>No compiler extensions or meta compilers required</li>     <li>Proper handling of dynamic objects and signals (deleted objects will not cause seg faults)</li>     <li>Extendable API at any level: signal, slot, connection and trackable</li>     <li>Extensions do not require alteration of basic components</li>     <li>User definable accumulators</li>     <li>A variety of adaptors to change the callback signature: bind, hide, retype, compose and lambda call groups</li>     <li>Various compilers and platforms are supported: gcc, cygwin, mingw32, MS .NET 2003, Sun Forte C++, Compaq C++, Intel C++, IBM AIX, Tru64, IRIX MipsPro.</li>    </ul>    <p><br />  </p>    <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1326940411858" target="_blank">http://www.open-open.com/lib/view/home/1326940411858</a></p>