Partager via


initializer_list::size

Returns the number of elements in the list.

size_t size() const;

Return Value

The number of elements in the list.

Requirements

Header: <initializer_list>

Namespace: std

See Also

Reference

initializer_list Class

Other Resources

size_type