首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C/C++/VC++ > An unsafe version of FastDelegates but with simplified syntax

An unsafe version of FastDelegates but with simplified syntax

  • 资源大小:16.16 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

This is an experimental callback library that enables you to use delegates in C++. It uses FastDelegates internally http://www.codeproject.com/KB/cpp/FastDelegate.aspx The syntax is pretty easy. Imagine you could write code like this: void simpleFunction(int i, char**text) { std::cout << i << text << endl; }** .. UnsafeDelegate delegate; delegate.bind(&simpleFunction); delegate(42,"some text");

文 件 列 表

UnsafeDelegates
main.cpp
FastDelegate.h
UnsafeDelegate.h

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP