码迷,mamicode.com
首页 >  
搜索关键字:thymeleaf 模板技术 template    ( 9748个结果
boost::serialization 拆分serialize函数
在前篇 boost::serialization 用基类指针转存派生类(错误多多,一波三折)文中我们都是使用serialize函数来实现序列化,其代码格式如下: private: friend class boost::serialization::access; template void serialize(Archive& ar, const unsigned int ...
分类:其他好文   时间:2014-05-10 09:09:19    阅读次数:520
TTAS Lock C++11 实现
1 template 2 class lock_guard{ 3 public: 4 explicit lock_guard(Lock& lock){ 5 lock.lock(); 6 } 7 ~lock_guard(){ 8 lock.un...
分类:编程语言   时间:2014-05-08 19:50:17    阅读次数:520
django模板报错Requested setting TEMPLATE_DEBUG, but settings are not configured. You must either define
django模板报错Requested setting TEMPLATE_DEBUG, but settings are not configured. You must either define 分类: Django2013-03-16 22:42 2417人阅读 评论(1) 收藏 举报 dja...
分类:其他好文   时间:2014-05-08 19:05:03    阅读次数:339
template(1)
#include#includetemplateinline T const& max(T const& a,T const &b){ //如果a<b,那么返回a return a<b?b:a;}int main(){ int i=42; std::cout<<"max(7,...
分类:其他好文   时间:2014-05-08 09:50:44    阅读次数:264
链队列的C++实现
#include using namespace std; //节点类 template struct QNode { T data; QNode *next; }; //队列类 template struct LinkList { QNode * front; QNode * rear; size_t size; }; //构造一个空队列 template void InitQueu...
分类:编程语言   时间:2014-05-08 03:48:19    阅读次数:346
[Nagios] Error: Template 'timman' specified in contact definition could not be not found (c
Check nagios配置文件报错如下:[nagios@2 etc]$ /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios Core 4.0.6Copyright (c) 2009-present Nagios Core Development Team and Community Contributor...
分类:移动开发   时间:2014-05-07 15:47:14    阅读次数:449
profiling
http://kczx.whu.edu.cn/G2S/Template/View.aspx?courseId=27617&topMenuId=92187&action=view&type=&name=&menuType=1&curfolid=223168
分类:其他好文   时间:2014-05-07 14:20:24    阅读次数:273
boost::mpl::eval_if的用法
最近看boost的时候总是遇见这个eval_if,不知道啥意思,就没法看下去了,比如 前篇文章boost::serialization 拆分serialize函数分析时就出现这样一段代码: template inline void split_member(Archive & ar, T & t, const unsigned int file_version) { typedef BOOS...
分类:其他好文   时间:2014-05-07 06:21:14    阅读次数:556
11.C语言泛型的支持
C++中使用模板技术来实现泛型,但是在C中是不支持模板技术的,怎么来实现泛型呢?本文演示了一种可行方法,希望对你有用。...
分类:编程语言   时间:2014-05-06 19:18:22    阅读次数:445
快速部署Sharepoint项目
1.新建CopyToLayouts.bat文件保存到项目Web解决方案根目录下,写入以下内容:ECHO OFF@SET TEMPLATE="C:\program files\common files\microsoft shared\web server extensions\14\Template...
分类:其他好文   时间:2014-05-06 14:24:59    阅读次数:306
9748条   上一页 1 ... 971 972 973 974 975 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!