Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in new-operator

C++ for-each loop with array allocated on the heap

c++ c++11 new-operator

unique pointer memory leak

Why is this allocation of a vector not accepted?

c++ syntax new-operator

Why in C++ the size of a class must be always known by its users?

Why is new called an operator in Java?

java new-operator

Deleting a 2D or 3D pointer created with new

Javascript `new` operator & prototype

Custom std::allocator for classes with replaced operator new

How to retrieve values after a hash collision

boost::serialization: overloading load_construct_data: no accessible constructor at all

Correctly deleting a dynamically allocated plain array, allocated with `std::align_val_t` alignment parameter

new on objective-c

objective-c new-operator

Size of array (new[])

c++ arrays new-operator

how to cause bad_alloc

Getting dynamically allocated array size

return an pointer to an object from a function without using new to allocate the pointer

c++ new-operator

How to resolve 'weak-def symbol not found' error run-time error for a C++23 program that uses std::println and omp?

Unexpected call to constructor when non-throwing operator new returns a nullptr

c++ new-operator noexcept

Can calls to memory allocation and constructor be interleaved with other operations required to perform a "new" expression?