Added text of MIT License.

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1115 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
rich_sposato 2011-09-23 00:46:21 +00:00
parent 199f8bcade
commit d2ca522cca
43 changed files with 1541 additions and 1021 deletions

View file

@ -4,13 +4,26 @@
// This code accompanies the book: // This code accompanies the book:
// Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design // Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design
// Patterns Applied". Copyright (c) 2001. Addison-Wesley. // Patterns Applied". Copyright (c) 2001. Addison-Wesley.
// Permission to use, copy, modify, distribute and sell this software for any //
// purpose is hereby granted without fee, provided that the above copyright // Code covered by the MIT License
// notice appear in all copies and that both that copyright notice and this //
// permission notice appear in supporting documentation. // Permission is hereby granted, free of charge, to any person obtaining a copy
// The author or Addison-Wesley Longman make no representations about the // of this software and associated documentation files (the "Software"), to deal
// suitability of this software for any purpose. It is provided "as is" // in the Software without restriction, including without limitation the rights
// without express or implied warranty. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_ABSTRACTFACTORY_INC_ #ifndef LOKI_ABSTRACTFACTORY_INC_
#define LOKI_ABSTRACTFACTORY_INC_ #define LOKI_ABSTRACTFACTORY_INC_

View file

@ -2,13 +2,23 @@
// The Loki Library // The Loki Library
// Copyright (c) 2008 by Rich Sposato // Copyright (c) 2008 by Rich Sposato
// //
// Permission to use, copy, modify, distribute and sell this software for any // Permission is hereby granted, free of charge, to any person obtaining a copy
// purpose is hereby granted without fee, provided that the above copyright // of this software and associated documentation files (the "Software"), to deal
// notice appear in all copies and that both that copyright notice and this // in the Software without restriction, including without limitation the rights
// permission notice appear in supporting documentation. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// The author makes no representations about the // copies of the Software, and to permit persons to whom the Software is
// suitability of this software for any purpose. It is provided "as is" // furnished to do so, subject to the following conditions:
// without express or implied warranty. //
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_ALLOCATOR_HPP_INCLUDED #ifndef LOKI_ALLOCATOR_HPP_INCLUDED

View file

@ -4,13 +4,24 @@
// This code accompanies the book: // This code accompanies the book:
// Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design // Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design
// Patterns Applied". Copyright (c) 2001. Addison-Wesley. // Patterns Applied". Copyright (c) 2001. Addison-Wesley.
// Permission to use, copy, modify, distribute and sell this software for any //
// purpose is hereby granted without fee, provided that the above copyright // Permission is hereby granted, free of charge, to any person obtaining a copy
// notice appear in all copies and that both that copyright notice and this // of this software and associated documentation files (the "Software"), to deal
// permission notice appear in supporting documentation. // in the Software without restriction, including without limitation the rights
// The author or Addison-Wesley Longman make no representations about the // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// suitability of this software for any purpose. It is provided "as is" // copies of the Software, and to permit persons to whom the Software is
// without express or implied warranty. // furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_ASSOCVECTOR_INC_ #ifndef LOKI_ASSOCVECTOR_INC_
#define LOKI_ASSOCVECTOR_INC_ #define LOKI_ASSOCVECTOR_INC_

View file

@ -4,13 +4,23 @@
// //
// Code covered by the MIT License // Code covered by the MIT License
// //
// Permission to use, copy, modify, distribute and sell this software for any // Permission is hereby granted, free of charge, to any person obtaining a copy
// purpose is hereby granted without fee, provided that the above copyright // of this software and associated documentation files (the "Software"), to deal
// notice appear in all copies and that both that copyright notice and this // in the Software without restriction, including without limitation the rights
// permission notice appear in supporting documentation. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// The authors make no representations about the suitability of this software // The above copyright notice and this permission notice shall be included in
// for any purpose. It is provided "as is" without express or implied warranty. // all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// This code DOES NOT accompany the book: // This code DOES NOT accompany the book:
// Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design // Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design

View file

@ -1,13 +1,26 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// The Loki Library // The Loki Library
// Copyright (c) 2007 by Rich Sposato // Copyright (c) 2007 by Rich Sposato
// Permission to use, copy, modify, distribute and sell this software for any //
// purpose is hereby granted without fee, provided that the above copyright // Code covered by the MIT License
// notice appear in all copies and that both that copyright notice and this //
// permission notice appear in supporting documentation. // Permission is hereby granted, free of charge, to any person obtaining a copy
// The author makes no representations about the // of this software and associated documentation files (the "Software"), to deal
// suitability of this software for any purpose. It is provided "as is" // in the Software without restriction, including without limitation the rights
// without express or implied warranty. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_CHECK_RETURN_INC_ #ifndef LOKI_CHECK_RETURN_INC_

View file

@ -4,13 +4,25 @@
// Copyright (c) 2008, 2009 Rich Sposato // Copyright (c) 2008, 2009 Rich Sposato
// The copyright on this file is protected under the terms of the MIT license. // The copyright on this file is protected under the terms of the MIT license.
// //
// Permission to use, copy, modify, distribute and sell this software for any // Code covered by the MIT License
// purpose is hereby granted without fee, provided that the above copyright
// notice appear in all copies and that both that copyright notice and this
// permission notice appear in supporting documentation.
// //
// The author makes no representations about the suitability of this software // Permission is hereby granted, free of charge, to any person obtaining a copy
// for any purpose. It is provided "as is" without express or implied warranty. // of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View file

@ -2,13 +2,26 @@
// The Loki Library // The Loki Library
// Copyright (c) 2006 Richard Sposato // Copyright (c) 2006 Richard Sposato
// Copyright (c) 2006 Peter Kümmel // Copyright (c) 2006 Peter Kümmel
// Permission to use, copy, modify, distribute and sell this software for any //
// purpose is hereby granted without fee, provided that the above copyright // Code covered by the MIT License
// notice appear in all copies and that both that copyright notice and this //
// permission notice appear in supporting documentation. // Permission is hereby granted, free of charge, to any person obtaining a copy
// The authors make no representations about the // of this software and associated documentation files (the "Software"), to deal
// suitability of this software for any purpose. It is provided "as is" // in the Software without restriction, including without limitation the rights
// without express or implied warranty. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_CONST_POLICY_INC_ #ifndef LOKI_CONST_POLICY_INC_
#define LOKI_CONST_POLICY_INC_ #define LOKI_CONST_POLICY_INC_

View file

@ -5,9 +5,26 @@
// Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design // Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design
// Patterns Applied". Copyright (c) 2001. Addison-Wesley. // Patterns Applied". Copyright (c) 2001. Addison-Wesley.
// //
// Code covered by the MIT License // Code covered by the MIT License:
// The author makes no representations about the suitability of this software // Copyright(c) 2010 Shannon Barber
// for any purpose. It is provided "as is" without express or implied warranty. //
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_DATAGENERATORS_INC_ #ifndef LOKI_DATAGENERATORS_INC_
#define LOKI_DATAGENERATORS_INC_ #define LOKI_DATAGENERATORS_INC_

View file

@ -4,13 +4,26 @@
// This code accompanies the book: // This code accompanies the book:
// Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design // Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design
// Patterns Applied". Copyright (c) 2001. Addison-Wesley. // Patterns Applied". Copyright (c) 2001. Addison-Wesley.
// Permission to use, copy, modify, distribute and sell this software for any //
// purpose is hereby granted without fee, provided that the above copyright // Code covered by the MIT License
// notice appear in all copies and that both that copyright notice and this //
// permission notice appear in supporting documentation. // Permission is hereby granted, free of charge, to any person obtaining a copy
// The author or Addison-Wesley Longman make no representations about the // of this software and associated documentation files (the "Software"), to deal
// suitability of this software for any purpose. It is provided "as is" // in the Software without restriction, including without limitation the rights
// without express or implied warranty. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_EMPTYTYPE_INC_ #ifndef LOKI_EMPTYTYPE_INC_
#define LOKI_EMPTYTYPE_INC_ #define LOKI_EMPTYTYPE_INC_

View file

@ -7,8 +7,24 @@
// Patterns Applied". Copyright (c) 2001. Addison-Wesley. // Patterns Applied". Copyright (c) 2001. Addison-Wesley.
// //
// Code covered by the MIT License // Code covered by the MIT License
// The authors make no representations about the suitability of this software //
// for any purpose. It is provided "as is" without express or implied warranty. // Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_FACTORYPARM_INC_ #ifndef LOKI_FACTORYPARM_INC_
#define LOKI_FACTORYPARM_INC_ #define LOKI_FACTORYPARM_INC_

View file

@ -2,13 +2,25 @@
// The Loki Library // The Loki Library
// Copyright (C) 2009 Andy Balaam // Copyright (C) 2009 Andy Balaam
// Copyright (c) 2009 Peter Kümmel // Copyright (c) 2009 Peter Kümmel
// Permission to use, copy, modify, distribute and sell this software for any // Code covered by the MIT License
// purpose is hereby granted without fee, provided that the above copyright //
// notice appear in all copies and that both that copyright notice and this // Permission is hereby granted, free of charge, to any person obtaining a copy
// permission notice appear in supporting documentation. // of this software and associated documentation files (the "Software"), to deal
// The author makes no representations about the // in the Software without restriction, including without limitation the rights
// suitability of this software for any purpose. It is provided "as is" // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// without express or implied warranty. // copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_FOR_EACH_TYPE #ifndef LOKI_FOR_EACH_TYPE

View file

@ -1,13 +1,26 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// The Loki Library // The Loki Library
// Copyright (c) 2005 Peter Kümmel // Copyright (c) 2005 Peter Kümmel
// Permission to use, copy, modify, distribute and sell this software for any //
// purpose is hereby granted without fee, provided that the above copyright // Code covered by the MIT License
// notice appear in all copies and that both that copyright notice and this //
// permission notice appear in supporting documentation. // Permission is hereby granted, free of charge, to any person obtaining a copy
// The author makes no representations about the // of this software and associated documentation files (the "Software"), to deal
// suitability of this software for any purpose. It is provided "as is" // in the Software without restriction, including without limitation the rights
// without express or implied warranty. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_FUNCTION_INC_ #ifndef LOKI_FUNCTION_INC_
#define LOKI_FUNCTION_INC_ #define LOKI_FUNCTION_INC_

View file

@ -4,13 +4,26 @@
// This code accompanies the book: // This code accompanies the book:
// Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design // Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design
// Patterns Applied". Copyright (c) 2001. Addison-Wesley. // Patterns Applied". Copyright (c) 2001. Addison-Wesley.
// Permission to use, copy, modify, distribute and sell this software for any //
// purpose is hereby granted without fee, provided that the above copyright // Code covered by the MIT License
// notice appear in all copies and that both that copyright notice and this //
// permission notice appear in supporting documentation. // Permission is hereby granted, free of charge, to any person obtaining a copy
// The author or Addison-Wesley Longman make no representations about the // of this software and associated documentation files (the "Software"), to deal
// suitability of this software for any purpose. It is provided "as is" // in the Software without restriction, including without limitation the rights
// without express or implied warranty. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_FUNCTOR_INC_ #ifndef LOKI_FUNCTOR_INC_
#define LOKI_FUNCTOR_INC_ #define LOKI_FUNCTOR_INC_

View file

@ -4,13 +4,25 @@
// This code accompanies the book: // This code accompanies the book:
// Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design // Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design
// Patterns Applied". Copyright (c) 2001. Addison-Wesley. // Patterns Applied". Copyright (c) 2001. Addison-Wesley.
// Permission to use, copy, modify, distribute and sell this software for any // Code covered by the MIT License
// purpose is hereby granted without fee, provided that the above copyright //
// notice appear in all copies and that both that copyright notice and this // Permission is hereby granted, free of charge, to any person obtaining a copy
// permission notice appear in supporting documentation. // of this software and associated documentation files (the "Software"), to deal
// The author or Addison-Wesley Longman make no representations about the // in the Software without restriction, including without limitation the rights
// suitability of this software for any purpose. It is provided "as is" // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// without express or implied warranty. // copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_HIERARCHYGENERATORS_INC_ #ifndef LOKI_HIERARCHYGENERATORS_INC_
#define LOKI_HIERARCHYGENERATORS_INC_ #define LOKI_HIERARCHYGENERATORS_INC_

View file

@ -4,13 +4,23 @@
// //
// Code covered by the MIT License // Code covered by the MIT License
// //
// Permission to use, copy, modify, distribute and sell this software for any // Permission is hereby granted, free of charge, to any person obtaining a copy
// purpose is hereby granted without fee, provided that the above copyright // of this software and associated documentation files (the "Software"), to deal
// notice appear in all copies and that both that copyright notice and this // in the Software without restriction, including without limitation the rights
// permission notice appear in supporting documentation. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// The authors make no representations about the suitability of this software // The above copyright notice and this permission notice shall be included in
// for any purpose. It is provided "as is" without express or implied warranty. // all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// This code DOES NOT accompany the book: // This code DOES NOT accompany the book:
// Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design // Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design

View file

@ -2,15 +2,26 @@
// //
// LevelMutex facility for the Loki Library // LevelMutex facility for the Loki Library
// Copyright (c) 2008, 2009 Richard Sposato // Copyright (c) 2008, 2009 Richard Sposato
// The copyright on this file is protected under the terms of the MIT license.
// //
// Permission to use, copy, modify, distribute and sell this software for any // Code covered by the MIT License
// purpose is hereby granted without fee, provided that the above copyright
// notice appear in all copies and that both that copyright notice and this
// permission notice appear in supporting documentation.
// //
// The author makes no representations about the suitability of this software // Permission is hereby granted, free of charge, to any person obtaining a copy
// for any purpose. It is provided "as is" without express or implied warranty. // of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View file

@ -7,13 +7,27 @@
// for You" by Alexandrescu, Andrei. // for You" by Alexandrescu, Andrei.
// Published in the February 2001 issue of the C/C++ Users Journal. // Published in the February 2001 issue of the C/C++ Users Journal.
// http://www.cuj.com/documents/s=7998/cujcexp1902alexandr/ // http://www.cuj.com/documents/s=7998/cujcexp1902alexandr/
// Permission to use, copy, modify, distribute and sell this software for any //
// purpose is hereby granted without fee, provided that the above copyright // Code covered by the MIT License
// notice appear in all copies and that both that copyright notice and this //
// permission notice appear in supporting documentation. // Permission is hereby granted, free of charge, to any person obtaining a copy
// The author makes no representations about the // of this software and associated documentation files (the "Software"), to deal
// suitability of this software for any purpose. It is provided "as is" // in the Software without restriction, including without limitation the rights
// without express or implied warranty. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//
// Prepared for Loki library by Richard Sposato // Prepared for Loki library by Richard Sposato
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_LOCKING_PTR_INC_ #ifndef LOKI_LOCKING_PTR_INC_

View file

@ -1,13 +1,25 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// The Loki Library // The Loki Library
// Copyright (c) 2006 by Peter Kümmel // Copyright (c) 2006 by Peter Kümmel
// Permission to use, copy, modify, distribute and sell this software for any // Code covered by the MIT License
// purpose is hereby granted without fee, provided that the above copyright //
// notice appear in all copies and that both that copyright notice and this // Permission is hereby granted, free of charge, to any person obtaining a copy
// permission notice appear in supporting documentation. // of this software and associated documentation files (the "Software"), to deal
// The author makes no representations about the // in the Software without restriction, including without limitation the rights
// suitability of this software for any purpose. It is provided "as is" // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// without express or implied warranty. // copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_LOKIEXPORT_INC_ #ifndef LOKI_LOKIEXPORT_INC_
#define LOKI_LOKIEXPORT_INC_ #define LOKI_LOKIEXPORT_INC_

View file

@ -4,13 +4,26 @@
// This code accompanies the book: // This code accompanies the book:
// Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design // Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design
// Patterns Applied". Copyright (c) 2001. Addison-Wesley. // Patterns Applied". Copyright (c) 2001. Addison-Wesley.
// Permission to use, copy, modify, distribute and sell this software for any //
// purpose is hereby granted without fee, provided that the above copyright // Code covered by the MIT License
// notice appear in all copies and that both that copyright notice and this //
// permission notice appear in supporting documentation. // Permission is hereby granted, free of charge, to any person obtaining a copy
// The author or Addison-Wesley Longman make no representations about the // of this software and associated documentation files (the "Software"), to deal
// suitability of this software for any purpose. It is provided "as is" // in the Software without restriction, including without limitation the rights
// without express or implied warranty. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_LOKITYPEINFO_INC_ #ifndef LOKI_LOKITYPEINFO_INC_
#define LOKI_LOKITYPEINFO_INC_ #define LOKI_LOKITYPEINFO_INC_

View file

@ -4,13 +4,26 @@
// This code accompanies the book: // This code accompanies the book:
// Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design // Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design
// Patterns Applied". Copyright (c) 2001. Addison-Wesley. // Patterns Applied". Copyright (c) 2001. Addison-Wesley.
// Permission to use, copy, modify, distribute and sell this software for any //
// purpose is hereby granted without fee, provided that the above copyright // Code covered by the MIT License
// notice appear in all copies and that both that copyright notice and this //
// permission notice appear in supporting documentation. // Permission is hereby granted, free of charge, to any person obtaining a copy
// The author or Addison-Wesley Longman make no representations about the // of this software and associated documentation files (the "Software"), to deal
// suitability of this software for any purpose. It is provided "as is" // in the Software without restriction, including without limitation the rights
// without express or implied warranty. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_MULTIMETHODS_INC_ #ifndef LOKI_MULTIMETHODS_INC_
#define LOKI_MULTIMETHODS_INC_ #define LOKI_MULTIMETHODS_INC_

View file

@ -4,13 +4,25 @@
// This code accompanies the book: // This code accompanies the book:
// Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design // Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design
// Patterns Applied". Copyright (c) 2001. Addison-Wesley. // Patterns Applied". Copyright (c) 2001. Addison-Wesley.
// Permission to use, copy, modify, distribute and sell this software for any // Code covered by the MIT License
// purpose is hereby granted without fee, provided that the above copyright //
// notice appear in all copies and that both that copyright notice and this // Permission is hereby granted, free of charge, to any person obtaining a copy
// permission notice appear in supporting documentation. // of this software and associated documentation files (the "Software"), to deal
// The author or Addison-Wesley Longman make no representations about the // in the Software without restriction, including without limitation the rights
// suitability of this software for any purpose. It is provided "as is" // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// without express or implied warranty. // copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_NULLTYPE_INC_ #ifndef LOKI_NULLTYPE_INC_
#define LOKI_NULLTYPE_INC_ #define LOKI_NULLTYPE_INC_

View file

@ -1,13 +1,25 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// The Loki Library // The Loki Library
// Copyright (c) 2005 Peter Kümmel // Copyright (c) 2005 Peter Kümmel
// Permission to use, copy, modify, distribute and sell this software for any // Code covered by the MIT License
// purpose is hereby granted without fee, provided that the above copyright //
// notice appear in all copies and that both that copyright notice and this // Permission is hereby granted, free of charge, to any person obtaining a copy
// permission notice appear in supporting documentation. // of this software and associated documentation files (the "Software"), to deal
// The author makes no representations about the // in the Software without restriction, including without limitation the rights
// suitability of this software for any purpose. It is provided "as is" // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// without express or implied warranty. // copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_ORDEREDSTATIC_INC_ #ifndef LOKI_ORDEREDSTATIC_INC_
#define LOKI_ORDEREDSTATIC_INC_ #define LOKI_ORDEREDSTATIC_INC_

View file

@ -1,13 +1,25 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// The Loki Library // The Loki Library
// Copyright (c) 2006 Peter Kümmel // Copyright (c) 2006 Peter Kümmel
// Permission to use, copy, modify, distribute and sell this software for any // Code covered by the MIT License
// purpose is hereby granted without fee, provided that the above copyright //
// notice appear in all copies and that both that copyright notice and this // Permission is hereby granted, free of charge, to any person obtaining a copy
// permission notice appear in supporting documentation. // of this software and associated documentation files (the "Software"), to deal
// The author makes no representations about the // in the Software without restriction, including without limitation the rights
// suitability of this software for any purpose. It is provided "as is" // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// without express or implied warranty. // copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_PIMPL_INC_ #ifndef LOKI_PIMPL_INC_
#define LOKI_PIMPL_INC_ #define LOKI_PIMPL_INC_

View file

@ -2,13 +2,25 @@
// The Loki Library // The Loki Library
// Copyright (c) 2006 Richard Sposato // Copyright (c) 2006 Richard Sposato
// Copyright (c) 2006 Peter Kümmel // Copyright (c) 2006 Peter Kümmel
// Permission to use, copy, modify, distribute and sell this software for any // Code covered by the MIT License
// purpose is hereby granted without fee, provided that the above copyright //
// notice appear in all copies and that both that copyright notice and this // Permission is hereby granted, free of charge, to any person obtaining a copy
// permission notice appear in supporting documentation. // of this software and associated documentation files (the "Software"), to deal
// The authors make no representations about the // in the Software without restriction, including without limitation the rights
// suitability of this software for any purpose. It is provided "as is" // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// without express or implied warranty. // copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_REFTOVALUE_INC_ #ifndef LOKI_REFTOVALUE_INC_
#define LOKI_REFTOVALUE_INC_ #define LOKI_REFTOVALUE_INC_

View file

@ -1,13 +1,25 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// The Loki Library // The Loki Library
// Copyright (c) 2006 Peter Kümmel // Copyright (c) 2006 Peter Kümmel
// Permission to use, copy, modify, distribute and sell this software for any // Code covered by the MIT License
// purpose is hereby granted without fee, provided that the above copyright //
// notice appear in all copies and that both that copyright notice and this // Permission is hereby granted, free of charge, to any person obtaining a copy
// permission notice appear in supporting documentation. // of this software and associated documentation files (the "Software"), to deal
// The author makes no representations about the // in the Software without restriction, including without limitation the rights
// suitability of this software for any purpose. It is provided "as is" // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// without express or implied warranty. // copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_REGISTER_INC_ #ifndef LOKI_REGISTER_INC_
#define LOKI_REGISTER_INC_ #define LOKI_REGISTER_INC_

View file

@ -4,13 +4,23 @@
// //
// Code covered by the MIT License // Code covered by the MIT License
// //
// Permission to use, copy, modify, distribute and sell this software for any // Permission is hereby granted, free of charge, to any person obtaining a copy
// purpose is hereby granted without fee, provided that the above copyright // of this software and associated documentation files (the "Software"), to deal
// notice appear in all copies and that both that copyright notice and this // in the Software without restriction, including without limitation the rights
// permission notice appear in supporting documentation. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// //
// The authors make no representations about the suitability of this software // The above copyright notice and this permission notice shall be included in
// for any purpose. It is provided "as is" without express or implied warranty. // all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// //
// This code DOES NOT accompany the book: // This code DOES NOT accompany the book:
// Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design // Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design

View file

@ -3,13 +3,25 @@
// Copyright (c) 2009 by Fedor Pikus & Rich Sposato // Copyright (c) 2009 by Fedor Pikus & Rich Sposato
// The copyright on this file is protected under the terms of the MIT license. // The copyright on this file is protected under the terms of the MIT license.
// //
// Permission to use, copy, modify, distribute and sell this software for any // Code covered by the MIT License
// purpose is hereby granted without fee, provided that the above copyright
// notice appear in all copies and that both that copyright notice and this
// permission notice appear in supporting documentation.
// //
// The author makes no claims about the suitability of this software for any // Permission is hereby granted, free of charge, to any person obtaining a copy
// purpose. It is provided "as is" without express or implied warranty. // of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Id$ // $Id$

View file

@ -1,13 +1,25 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2005 by Andrei Alexandrescu // Copyright (c) 2005 by Andrei Alexandrescu
// Copyright (c) 2006 Peter Kümmel // Copyright (c) 2006 Peter Kümmel
// Permission to use, copy, modify, distribute, and sell this software for any // Code covered by the MIT License
// purpose is hereby granted without fee, provided that the above copyright //
// notice appear in all copies and that both that copyright notice and this // Permission is hereby granted, free of charge, to any person obtaining a copy
// permission notice appear in supporting documentation. // of this software and associated documentation files (the "Software"), to deal
// The author makes no representations about the suitability of this software // in the Software without restriction, including without limitation the rights
// for any purpose. It is provided "as is" without express or implied // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// warranty. // copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_SAFEFORMAT_INC_ #ifndef LOKI_SAFEFORMAT_INC_
#define LOKI_SAFEFORMAT_INC_ #define LOKI_SAFEFORMAT_INC_

View file

@ -3,14 +3,25 @@
// Copyright (c) 2000 Andrei Alexandrescu // Copyright (c) 2000 Andrei Alexandrescu
// Copyright (c) 2000 Petru Marginean // Copyright (c) 2000 Petru Marginean
// Copyright (c) 2005 Joshua Lehrer // Copyright (c) 2005 Joshua Lehrer
// Code covered by the MIT License
// //
// Permission to use, copy, modify, distribute and sell this software for any // Permission is hereby granted, free of charge, to any person obtaining a copy
// purpose is hereby granted without fee, provided that the above copyright // of this software and associated documentation files (the "Software"), to deal
// notice appear in all copies and that both that copyright notice and this // in the Software without restriction, including without limitation the rights
// permission notice appear in supporting documentation. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// The author makes no representations about the // copies of the Software, and to permit persons to whom the Software is
// suitability of this software for any purpose. It is provided "as is" // furnished to do so, subject to the following conditions:
// without express or implied warranty. //
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_SCOPEGUARD_INC_ #ifndef LOKI_SCOPEGUARD_INC_
#define LOKI_SCOPEGUARD_INC_ #define LOKI_SCOPEGUARD_INC_

View file

@ -1,13 +1,25 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// The Loki Library // The Loki Library
// Copyright (c) 2005 by Peter Kümmel // Copyright (c) 2005 by Peter Kümmel
// Permission to use, copy, modify, distribute and sell this software for any // Code covered by the MIT License
// purpose is hereby granted without fee, provided that the above copyright //
// notice appear in all copies and that both that copyright notice and this // Permission is hereby granted, free of charge, to any person obtaining a copy
// permission notice appear in supporting documentation. // of this software and associated documentation files (the "Software"), to deal
// The author makes no representations about the // in the Software without restriction, including without limitation the rights
// suitability of this software for any purpose. It is provided "as is" // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// without express or implied warranty. // copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_SEQUENCE_INC_ #ifndef LOKI_SEQUENCE_INC_
#define LOKI_SEQUENCE_INC_ #define LOKI_SEQUENCE_INC_

View file

@ -4,13 +4,25 @@
// This code accompanies the book: // This code accompanies the book:
// Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design // Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design
// Patterns Applied". Copyright (c) 2001. Addison-Wesley. // Patterns Applied". Copyright (c) 2001. Addison-Wesley.
// Permission to use, copy, modify, distribute and sell this software for any // Code covered by the MIT License
// purpose is hereby granted without fee, provided that the above copyright //
// notice appear in all copies and that both that copyright notice and this // Permission is hereby granted, free of charge, to any person obtaining a copy
// permission notice appear in supporting documentation. // of this software and associated documentation files (the "Software"), to deal
// The author or Addison-Wesley Longman make no representations about the // in the Software without restriction, including without limitation the rights
// suitability of this software for any purpose. It is provided "as is" // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// without express or implied warranty. // copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_SINGLETON_INC_ #ifndef LOKI_SINGLETON_INC_
#define LOKI_SINGLETON_INC_ #define LOKI_SINGLETON_INC_

View file

@ -2,15 +2,25 @@
// The Loki Library // The Loki Library
// Copyright (c) 2001 by Andrei Alexandrescu // Copyright (c) 2001 by Andrei Alexandrescu
// This code accompanies the book: // This code accompanies the book:
// Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design // Code covered by the MIT License
// Patterns Applied". Copyright (c) 2001. Addison-Wesley. //
// Permission to use, copy, modify, distribute and sell this software for any // Permission is hereby granted, free of charge, to any person obtaining a copy
// purpose is hereby granted without fee, provided that the above copyright // of this software and associated documentation files (the "Software"), to deal
// notice appear in all copies and that both that copyright notice and this // in the Software without restriction, including without limitation the rights
// permission notice appear in supporting documentation. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// The author or Addison-Wesley Longman make no representations about the // copies of the Software, and to permit persons to whom the Software is
// suitability of this software for any purpose. It is provided "as is" // furnished to do so, subject to the following conditions:
// without express or implied warranty. //
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_SMALLOBJ_INC_ #ifndef LOKI_SMALLOBJ_INC_
#define LOKI_SMALLOBJ_INC_ #define LOKI_SMALLOBJ_INC_

View file

@ -4,13 +4,25 @@
// This code accompanies the book: // This code accompanies the book:
// Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design // Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design
// Patterns Applied". Copyright (c) 2001. Addison-Wesley. // Patterns Applied". Copyright (c) 2001. Addison-Wesley.
// Permission to use, copy, modify, distribute and sell this software for any // Code covered by the MIT License
// purpose is hereby granted without fee, provided that the above copyright //
// notice appear in all copies and that both that copyright notice and this // Permission is hereby granted, free of charge, to any person obtaining a copy
// permission notice appear in supporting documentation. // of this software and associated documentation files (the "Software"), to deal
// The author or Addison-Wesley Longman make no representations about the // in the Software without restriction, including without limitation the rights
// suitability of this software for any purpose. It is provided "as is" // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// without express or implied warranty. // copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_SMARTPTR_INC_ #ifndef LOKI_SMARTPTR_INC_
#define LOKI_SMARTPTR_INC_ #define LOKI_SMARTPTR_INC_

View file

@ -1,15 +1,25 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// The Loki Library // The Loki Library
// Copyright (c) 2006 Rich Sposato // Copyright (c) 2006 Rich Sposato
// The copyright on this file is protected under the terms of the MIT license. // Code covered by the MIT License
// //
// Permission to use, copy, modify, distribute and sell this software for any // Permission is hereby granted, free of charge, to any person obtaining a copy
// purpose is hereby granted without fee, provided that the above copyright // of this software and associated documentation files (the "Software"), to deal
// notice appear in all copies and that both that copyright notice and this // in the Software without restriction, including without limitation the rights
// permission notice appear in supporting documentation. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// The author makes no representations about the // copies of the Software, and to permit persons to whom the Software is
// suitability of this software for any purpose. It is provided "as is" // furnished to do so, subject to the following conditions:
// without express or implied warranty. //
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_STRONG_PTR_INC_ #ifndef LOKI_STRONG_PTR_INC_
#define LOKI_STRONG_PTR_INC_ #define LOKI_STRONG_PTR_INC_

View file

@ -1,13 +1,25 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// The Loki Library // The Loki Library
// Copyright (c) 2009 by Rich Sposato // Copyright (c) 2009 by Rich Sposato
// Permission to use, copy, modify, distribute and sell this software for any // Code covered by the MIT License
// purpose is hereby granted without fee, provided that the above copyright //
// notice appear in all copies and that both that copyright notice and this // Permission is hereby granted, free of charge, to any person obtaining a copy
// permission notice appear in supporting documentation. // of this software and associated documentation files (the "Software"), to deal
// The author makes no representations about the // in the Software without restriction, including without limitation the rights
// suitability of this software for any purpose. It is provided "as is" // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// without express or implied warranty. // copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_THREAD_LOCAL_H_INCLUDED #ifndef LOKI_THREAD_LOCAL_H_INCLUDED

View file

@ -4,13 +4,25 @@
// This code accompanies the book: // This code accompanies the book:
// Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design // Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design
// Patterns Applied". Copyright (c) 2001. Addison-Wesley. // Patterns Applied". Copyright (c) 2001. Addison-Wesley.
// Permission to use, copy, modify, distribute and sell this software for any // Code covered by the MIT License
// purpose is hereby granted without fee, provided that the above copyright //
// notice appear in all copies and that both that copyright notice and this // Permission is hereby granted, free of charge, to any person obtaining a copy
// permission notice appear in supporting documentation. // of this software and associated documentation files (the "Software"), to deal
// The author or Addison-Wesley Longman make no representations about the // in the Software without restriction, including without limitation the rights
// suitability of this software for any purpose. It is provided "as is" // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// without express or implied warranty. // copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_THREADS_INC_ #ifndef LOKI_THREADS_INC_
#define LOKI_THREADS_INC_ #define LOKI_THREADS_INC_

View file

@ -4,13 +4,25 @@
// This code accompanies the book: // This code accompanies the book:
// Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design // Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design
// Patterns Applied". Copyright (c) 2001. Addison-Wesley. // Patterns Applied". Copyright (c) 2001. Addison-Wesley.
// Permission to use, copy, modify, distribute and sell this software for any // Code covered by the MIT License
// purpose is hereby granted without fee, provided that the above copyright //
// notice appear in all copies and that both that copyright notice and this // Permission is hereby granted, free of charge, to any person obtaining a copy
// permission notice appear in supporting documentation. // of this software and associated documentation files (the "Software"), to deal
// The author or Addison-Wesley Longman make no representations about the // in the Software without restriction, including without limitation the rights
// suitability of this software for any purpose. It is provided "as is" // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// without express or implied warranty. // copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// Last update: June 20, 2001 // Last update: June 20, 2001

View file

@ -4,13 +4,25 @@
// This code accompanies the book: // This code accompanies the book:
// Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design // Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design
// Patterns Applied". Copyright (c) 2001. Addison-Wesley. // Patterns Applied". Copyright (c) 2001. Addison-Wesley.
// Permission to use, copy, modify, distribute and sell this software for any // Code covered by the MIT License
// purpose is hereby granted without fee, provided that the above copyright //
// notice appear in all copies and that both that copyright notice and this // Permission is hereby granted, free of charge, to any person obtaining a copy
// permission notice appear in supporting documentation. // of this software and associated documentation files (the "Software"), to deal
// The author or Addison-Welsey Longman make no representations about the // in the Software without restriction, including without limitation the rights
// suitability of this software for any purpose. It is provided "as is" // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// without express or implied warranty. // copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_TYPEMANIP_INC_ #ifndef LOKI_TYPEMANIP_INC_
#define LOKI_TYPEMANIP_INC_ #define LOKI_TYPEMANIP_INC_

View file

@ -4,13 +4,25 @@
// This code accompanies the book: // This code accompanies the book:
// Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design // Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design
// Patterns Applied". Copyright (c) 2001. Addison-Wesley. // Patterns Applied". Copyright (c) 2001. Addison-Wesley.
// Permission to use, copy, modify, distribute and sell this software for any // Code covered by the MIT License
// purpose is hereby granted without fee, provided that the above copyright //
// notice appear in all copies and that both that copyright notice and this // Permission is hereby granted, free of charge, to any person obtaining a copy
// permission notice appear in supporting documentation. // of this software and associated documentation files (the "Software"), to deal
// The author or Addison-Wesley Longman make no representations about the // in the Software without restriction, including without limitation the rights
// suitability of this software for any purpose. It is provided "as is" // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// without express or implied warranty. // copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_TYPETRAITS_INC_ #ifndef LOKI_TYPETRAITS_INC_
#define LOKI_TYPETRAITS_INC_ #define LOKI_TYPETRAITS_INC_

View file

@ -4,13 +4,25 @@
// This code accompanies the book: // This code accompanies the book:
// Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design // Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design
// Patterns Applied". Copyright (c) 2001. Addison-Wesley. // Patterns Applied". Copyright (c) 2001. Addison-Wesley.
// Permission to use, copy, modify, distribute and sell this software for any // Code covered by the MIT License
// purpose is hereby granted without fee, provided that the above copyright //
// notice appear in all copies and that both that copyright notice and this // Permission is hereby granted, free of charge, to any person obtaining a copy
// permission notice appear in supporting documentation. // of this software and associated documentation files (the "Software"), to deal
// The author or Addison-Welsey Longman make no representations about the // in the Software without restriction, including without limitation the rights
// suitability of this software for any purpose. It is provided "as is" // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// without express or implied warranty. // copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_TYPELIST_INC_ #ifndef LOKI_TYPELIST_INC_
#define LOKI_TYPELIST_INC_ #define LOKI_TYPELIST_INC_

View file

@ -4,13 +4,25 @@
// This code accompanies the book: // This code accompanies the book:
// Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design // Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design
// Patterns Applied". Copyright (c) 2001. Addison-Wesley. // Patterns Applied". Copyright (c) 2001. Addison-Wesley.
// Permission to use, copy, modify, distribute and sell this software for any // Code covered by the MIT License
// purpose is hereby granted without fee, provided that the above copyright //
// notice appear in all copies and that both that copyright notice and this // Permission is hereby granted, free of charge, to any person obtaining a copy
// permission notice appear in supporting documentation. // of this software and associated documentation files (the "Software"), to deal
// The author or Addison-Welsey Longman make no representations about the // in the Software without restriction, including without limitation the rights
// suitability of this software for any purpose. It is provided "as is" // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// without express or implied warranty. // copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_TYPELISTMACROS_INC_ #ifndef LOKI_TYPELISTMACROS_INC_
#define LOKI_TYPELISTMACROS_INC_ #define LOKI_TYPELISTMACROS_INC_

View file

@ -4,13 +4,25 @@
// This code accompanies the book: // This code accompanies the book:
// Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design // Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design
// Patterns Applied". Copyright (c) 2001. Addison-Wesley. // Patterns Applied". Copyright (c) 2001. Addison-Wesley.
// Permission to use, copy, modify, distribute and sell this software for any // Code covered by the MIT License
// purpose is hereby granted without fee, provided that the above copyright //
// notice appear in all copies and that both that copyright notice and this // Permission is hereby granted, free of charge, to any person obtaining a copy
// permission notice appear in supporting documentation. // of this software and associated documentation files (the "Software"), to deal
// The author or Addison-Wesley Longman make no representations about the // in the Software without restriction, including without limitation the rights
// suitability of this software for any purpose. It is provided "as is" // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// without express or implied warranty. // copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_VISITOR_INC_ #ifndef LOKI_VISITOR_INC_
#define LOKI_VISITOR_INC_ #define LOKI_VISITOR_INC_

View file

@ -4,13 +4,25 @@
// This code accompanies the book: // This code accompanies the book:
// Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design // Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design
// Patterns Applied". Copyright (c) 2001. Addison-Wesley. // Patterns Applied". Copyright (c) 2001. Addison-Wesley.
// Permission to use, copy, modify, distribute and sell this software for any // Code covered by the MIT License
// purpose is hereby granted without fee, provided that the above copyright //
// notice appear in all copies and that both that copyright notice and this // Permission is hereby granted, free of charge, to any person obtaining a copy
// permission notice appear in supporting documentation. // of this software and associated documentation files (the "Software"), to deal
// The author or Addison-Wesley Longman make no representations about the // in the Software without restriction, including without limitation the rights
// suitability of this software for any purpose. It is provided "as is" // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// without express or implied warranty. // copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_STATIC_CHECK_INC_ #ifndef LOKI_STATIC_CHECK_INC_
#define LOKI_STATIC_CHECK_INC_ #define LOKI_STATIC_CHECK_INC_