replace tabs with 4 spaces in all files

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@600 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
syntheticpp 2006-03-08 17:07:20 +00:00
parent 5b77cc6de3
commit d72b2ff1b3
22 changed files with 554 additions and 545 deletions

View file

@ -310,7 +310,7 @@ void test_more()
delete p9;
delete p10;
Loki::Printf("\nCreating Rimpls\n");
R1* r1 = new R1;
R2* r2 = new R2;

View file

@ -102,7 +102,7 @@ typedef std::auto_ptr<ImplT<E> > StdAutoPtr;
// Pimpl
typedef Pimpl<ImplT<E> > Pimpl1;
typedef Pimpl<ImplT<E> > Pimpl1;
typedef Pimpl<ImplT<E>, CPropPtr> Pimpl2;
typedef Pimpl<ImplT<E>, LokiPtr> Pimpl3;
typedef Pimpl<ImplT<E>, BoostPtr> Pimpl4;
@ -117,7 +117,7 @@ struct P5 {Pimpl5 d; P5();void f();void f()const;};
// PimplOwner
typedef PimplOwner<ImplT<E> > PimplOwner1;
typedef PimplOwner<ImplT<E> > PimplOwner1;
typedef PimplOwner<ImplT<E>, CPropPtr> PimplOwner2;
typedef PimplOwner<ImplT<E>, LokiPtr> PimplOwner3;
typedef PimplOwner<ImplT<E>, BoostPtr> PimplOwner4;

View file

@ -26,7 +26,7 @@ class A2
{
public:
A2();
~A2();
~A2();
void foo();
private:
@ -42,7 +42,7 @@ class B2 : private PimplT<B2>::Owner
{
public:
B2();
~B2();
~B2();
void foo();
};
@ -56,7 +56,7 @@ class C2
{
public:
C2();
~C2();
~C2();
void foo();
private:
@ -73,7 +73,7 @@ class D2 : private RimplT<D2>::Owner
{
public:
D2();
~D2();
~D2();
void foo();
};
@ -94,7 +94,7 @@ class Incomplete2
{
public:
Incomplete2();
~Incomplete2();
~Incomplete2();
void foo();
private:
PimplT<Incomplete2>::Type d;
@ -108,10 +108,10 @@ class Incomplete3
{
public:
Incomplete3();
~Incomplete3()
{
// inline destructor
}
~Incomplete3()
{
// inline destructor
}
void foo();
private:
PimplT<Incomplete3>::Type d;

View file

@ -37,24 +37,24 @@ Base* createBoo(){ return new Boo; }
namespace Loki
{
template<> bool RegisterFunction<Foo>()
{
std::cout << "RegisterFunction<Foo>\n";
return registerClass("Foo", &createFoo);
}
{
std::cout << "RegisterFunction<Foo>\n";
return registerClass("Foo", &createFoo);
}
template<> bool RegisterFunction<Boo>()
{
std::cout << "RegisterFunction<Boo>\n";
return registerClass("Boo", &createBoo);
}
{
std::cout << "RegisterFunction<Boo>\n";
return registerClass("Boo", &createBoo);
}
template<> bool UnRegisterFunction<Foo>()
{
std::cout << "UnRegisterFunction<Foo>\n";
return true;
}
{
std::cout << "UnRegisterFunction<Foo>\n";
return true;
}
template<> bool UnRegisterFunction<Boo>()
{
std::cout << "UnRegisterFunction<Boo>\n";
return true;
}
{
std::cout << "UnRegisterFunction<Boo>\n";
return true;
}
}

View file

@ -39,7 +39,7 @@ int main()
{
Base* foo = BaseFactory::Instance().CreateObject("Foo");
Base* boo = BaseFactory::Instance().CreateObject("Boo");
foo->foo();
boo->foo();

View file

@ -15,8 +15,8 @@
#include <loki/LokiExport.h>
#if (defined(FOO_MAKE_DLL) && defined(FOO_DLL)) || \
(defined(FOO_MAKE_DLL) && defined(FOO_STATIC)) || \
(defined(FOO_DLL) && defined(FOO_STATIC))
(defined(FOO_MAKE_DLL) && defined(FOO_STATIC)) || \
(defined(FOO_DLL) && defined(FOO_STATIC))
#error export macro error: you could not build AND use the library
#endif

View file

@ -15,8 +15,8 @@
#include <loki/LokiExport.h>
#if (defined(SINGLETONDLL_MAKE_DLL) && defined(SINGLETONDLL_DLL)) || \
(defined(SINGLETONDLL_MAKE_DLL) && defined(SINGLETONDLL_STATIC)) || \
(defined(SINGLETONDLL_DLL) && defined(SINGLETONDLL_STATIC))
(defined(SINGLETONDLL_MAKE_DLL) && defined(SINGLETONDLL_STATIC)) || \
(defined(SINGLETONDLL_DLL) && defined(SINGLETONDLL_STATIC))
#error export macro error: you could not build AND use the library
#endif