tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
operator.hpp File Reference

Go to the source code of this file.

Functions

auto operator new (etl::size_t count, void *ptr) noexcept -> void *
 Called by the standard single-object placement new expression. The standard library implementation performs no action and returns ptr unmodified. The behavior is undefined if this function is called through a placement new expression and ptr is a null pointer.
 
auto operator new[] (etl::size_t count, void *ptr) noexcept -> void *
 Called by the standard array form placement new expression. The standard library implementation performs no action and returns ptr unmodified. The behavior is undefined if this function is called through a placement new expression and ptr is a null pointer.
 

Function Documentation

◆ operator new()

auto operator new ( etl::size_t count,
void * ptr ) -> void*
nodiscardnoexcept

Called by the standard single-object placement new expression. The standard library implementation performs no action and returns ptr unmodified. The behavior is undefined if this function is called through a placement new expression and ptr is a null pointer.

◆ operator new[]()

auto operator new[] ( etl::size_t count,
void * ptr ) -> void*
nodiscardnoexcept

Called by the standard array form placement new expression. The standard library implementation performs no action and returns ptr unmodified. The behavior is undefined if this function is called through a placement new expression and ptr is a null pointer.