使用namespace 包裹不同的文件
#include <iostream>
#include<list>
namespace jj01
{
//开始设计
template<typename T>
using Lst=list<T,allocator<T>>;
void test()
}
使用:
int main()
{
jj01::test()
}
使用namespace 包裹不同的文件
#include <iostream>
#include<list>
namespace jj01
{
//开始设计
template<typename T>
using Lst=list<T,allocator<T>>;
void test()
}
使用:
int main()
{
jj01::test()
}