The default alias is "nop". This file is included in the NoPtr library files so that you can easily use this shorter name for the NoPtr namespace. It also provides two pre-processor variables (see below) so you can override the default alias with your own alias (in case the default alias provided clashes with one of yours), or you can outright disable the alias so that no alias is defined.
Copyright (C) 2003 Oliver Schoenborn
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
You can redistribute it and/or modify it under the terms found in the LICENSE file that is included in the library distribution.
Definition in file NoPtrAlias.hh.
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
|Define NO_PTR_NO_ALIAS at compile time if you don't want an alias for the NoPtr namespace in the code being compiled. |
|Leave this one alone. It just makes sure that alias is only defined once even if file included multiple times. |
|Define NO_PTR_ALIAS_NAME at compile time to be the alias name to use instead of nop. |
Define NO_PTR_NO_ALIAS at compile time if you don't want an alias for the NoPtr namespace in the code being compiled.
Define NO_PTR_ALIAS_NAME at compile time to be the alias name to use instead of nop.