Skip to content

Commit

Permalink
minor comment
Browse files Browse the repository at this point in the history
  • Loading branch information
serges147 committed May 17, 2024
1 parent 69c8bc6 commit b3eb6e6
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,11 @@ TEST_F(example_07_polymorphic_alloc_deleter, example_usage_2)

auto obj0 = cetl::pmr::InterfaceFactory::make_unique<MyObject>(alloc, "obj0", 4U);
std::cout << "Obj0 id : " << obj0->id() << std::endl;
/*

// Commented b/c of current limitation of our `cetl::pmr::function`.
// Probably PMR support is needed at `cetl::unbounded_variant` (which we use inside the `function`),
// so that it will be possible to nest one deleter inside another one.
/*
auto obj1 = cetl::pmr::InterfaceFactory::make_unique<IIdentifiable>(alloc, "obj1", 4U);
{
std::cout << "Obj1 id : " << obj1->id() << std::endl;
Expand All @@ -257,6 +261,6 @@ TEST_F(example_07_polymorphic_alloc_deleter, example_usage_2)
std::cout << "Obj3 name : " << obj3->name() << std::endl;
std::cout << std::endl;
}
*/
*/
//![example_usage_2]
}

0 comments on commit b3eb6e6

Please sign in to comment.