Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
macros.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ION_DISALLOW_ASSIGN_ONLY(TypeName)   void operator=(const TypeName&)
 Copyright 2016 Google Inc. More...
 
#define ION_PRETTY_FUNCTION   __PRETTY_FUNCTION__
 Make ION_PRETTY_FUNCTION available on all platforms. More...
 

Macro Definition Documentation

#define ION_DISALLOW_ASSIGN_ONLY (   TypeName)    void operator=(const TypeName&)

Copyright 2016 Google Inc.

All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS-IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.ION_DISALLOW_ASSIGN_ONLY is specifically for working around a bug where a copy only type cannot be used in std::vector due to gcc bug 49836. It should be the last thing in a class declaration. The defined operator must not actually be called.

Todo:
(user): remove platforms from this list as they move off of libstdc++ 4.6 or earlier.

Definition at line 38 of file macros.h.

#define ION_PRETTY_FUNCTION   __PRETTY_FUNCTION__

Make ION_PRETTY_FUNCTION available on all platforms.

Definition at line 46 of file macros.h.

Referenced by ion::gfx::Renderer::MapBufferObjectData(), ion::gfx::Renderer::MapBufferObjectDataRange(), and ion::gfx::Renderer::UnmapBufferObjectData().