|
标签:杂谈 |
分类:Python --Language |
当字符串包含'\0'之类的字符串, ActiveState ActivePython 2.5会对其后面的内容截断,扰乱调试。
|
标签:杂谈 |
分类:C++ --Language、STL、Boost |
#include
<string>
#include <boost/tuple/tuple.hpp>
using namespace boost::tuples;
void test()
{
}
|
标签:杂谈 |
分类:C++ --Language、STL、Boost |
#include
<boost/pool/pool.hpp>
#include <boost/pool/pool_alloc.hpp>
#include <boost/pool/object_pool.hpp>
#include <boost/timer.hpp>
#include
<iostream>
#include <vector>
#include <cassert>
struct chunk
{
};
void
test_pool()
{
}
void
test_std_alloc_vector(int const& loop)
{
|
标签:杂谈 |
分类:C++ --Language、STL、Boost |
#include
<boost/lambda/lambda.hpp>
#include <boost/lambda/bind.hpp>
#include <boost/assign/std.hpp>
#include <boost/function.hpp>
#include <boost/ref.hpp>
using namespace boost::lambda;
#include
<iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <cassert>
int block(int
const& left, int const& right)
{
}
struct blocker
{
|
标签:杂谈 |
分类:C++ --Language、STL、Boost |
#include
<assert.h>
#include <boost/format.hpp>
void test()
{
}
|
标签:杂谈 |
分类:C++ --Language、STL、Boost |
#include
<cstdlib>
#include <boost/python.hpp>
int main(int argc,
char* argv[])
{
|
标签:杂谈 |
分类:C++ --Language、STL、Boost |
#include
<boost/asio.hpp>
#include <boost/bind.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <iostream>
#include <algorithm>
using boost::asio::ip::tcp;
class session
{
public:
|
标签:杂谈 |
分类:C++ --Language、STL、Boost |
#include
<boost/lexical_cast.hpp>
using boost::lexical_cast;
using boost::bad_lexical_cast;
#include
<string>
using std::string;
#include <assert.h>
void
str_to_int()
{
}
void
test_conversion()
{
}
|
标签:杂谈 |
分类:C++ --Language、STL、Boost |
#include <assert.h>
#include
<boost/bimap.hpp>
#include <boost/bimap/support/lambda.hpp>
#include <string>
using namespace std;
void
test_left_map_view()
{
|
标签:杂谈 |
分类:C++ --Language、STL、Boost |
#include <boost/array.hpp>
class temp
{
public:
};
void test()
{
}