diff --git a/src/bindings/eina_cxx/eina_ptrlist.hh b/src/bindings/eina_cxx/eina_ptrlist.hh index e06f436a19..2f18d10ffb 100644 --- a/src/bindings/eina_cxx/eina_ptrlist.hh +++ b/src/bindings/eina_cxx/eina_ptrlist.hh @@ -282,6 +282,12 @@ struct range_ptr_list : _range_template typedef typename _base_type::value_type value_type; /**< The type of each element. */ typedef typename _base_type::native_handle_type native_handle_type; /** Type for the native Eina list handle. */ + /** + * @brief Creates a singular range + */ + range_ptr_list() + {} + /** * @brief Creates a range from a native Eina list handle. */ diff --git a/src/bindings/eina_cxx/eina_range_types.hh b/src/bindings/eina_cxx/eina_range_types.hh index 4c60221390..844e2ef4cc 100644 --- a/src/bindings/eina_cxx/eina_range_types.hh +++ b/src/bindings/eina_cxx/eina_range_types.hh @@ -37,6 +37,12 @@ struct _const_range_template typedef typename Traits::template const_native_handle::type native_handle_type; /**< Type for the native handle of the container. */ typedef _const_range_template _self_type; /**< Type of the range itself. */ + /** + * @brief Creates a singular range object + */ + _const_range_template() + {} + /** * @brief Creates a range object wrapping the given native container handle. */ @@ -369,6 +375,12 @@ struct _range_template : private std::conditional typedef typename _base_type::size_type size_type; /**< Type for size information. */ typedef typename _base_type::difference_type difference_type; /**< Type to represent the distance between two iterators. */ + /** + * @brief Creates a singular range object + */ + _range_template() + {} + /** * @brief Creates a range object wrapping the given native container handle. */