Example #1
0
 /**
  * Create new list.
  *
  * Creates a new empty list using @a memory_pool for memory.
  *
  * @param[in] memory_pool Memory pool to use.
  * @return Empty List.
  **/
 static List create(MemoryPool memory_pool)
 {
     ib_list_t* ib_list;
     Internal::throw_if_error(ib_list_create(&ib_list, memory_pool.ib()));
     return List(ib_list);
 }