distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
storageDeleter.hpp File Reference

storageDeleter() definition More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 distortos
 Top-level namespace of distortos project.
 
 distortos::internal
 Internals of distortos project - should not be used directly!
 

Functions

template<typename T , typename U >
void distortos::internal::storageDeleter (U *const storage)
 Templated deleter that can be used with std::unique_ptr and dynamic storage allocated with new T[]. More...
 

Detailed Description

storageDeleter() definition

Author
Copyright (C) 2015 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
License
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.