Skip to content

Commit

Permalink
Add Andrei’s note as a comment to source code
Browse files Browse the repository at this point in the history
  • Loading branch information
0xEAB committed Dec 27, 2024
1 parent d8e92d6 commit d701391
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions std/experimental/allocator/building_blocks/allocator_list.d
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,13 @@ private:

// Everything is inherited from the 'AllocatorList' implementation
public:

/*
Note: This does not work well with rvalues because it copies them once more.
Probably not a problem here because all parameters are cheap.
<https://github.com/dlang/phobos/pull/6465/files#r189629862>
*/

/**
The alignment offered.
*/
Expand Down

0 comments on commit d701391

Please sign in to comment.