分类 C/C++ 下的文章
Singleton.h#ifndef NET_SINGLETON_H
#define NET_SINGLETON_H
template<typename T>
class Singleton
{
public:
static T &instance()
{
static T t;
r...
class noncopyable
{
public:
const noncopyable &operator=(const noncopyable &) = delete;
noncopyable(const noncopyable &) = delete;
...
安装插件File->Plugins->Marketplace显示内存指示File->Appearance->Window Opetions->Show memory indicator修改内存大小HELP->Edit Custum VM Options-Xss8m-Xms1024m-Xmx4196m代码格式化修改Fi...
future.cpp#include <chrono>
#include <iostream>
#include <future>
#include <thread>
std::string call_back(std::string name)
{
std::cout << &qu...
ThreadPool.h// -*- C++ -*-
// Copyright (c) 2012-2015 Jakob Progsch
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the aut...
Logger.h#ifndef AURORA_LOGGER_H
#define AURORA_LOGGER_H
#include "Common.h"
#include <log4cplus/logger.h>
#include <string>
namespace aurora
{
clas...
## asynchronous log properties.异步
log4cplus.logger.global = INFO, Aurora
log4cplus.appender.Aurora=log4cplus::AsyncAppender
# 异步Appender的队列大小
log4cplus.appender.Aurora.QueueLimi...
- « 前一页
- 1
- 2