Megosztás a következőn keresztül:


forward_list::difference_type

A signed integer type that can be used to represent the number of elements of a forward list in a range between elements pointed to by iterators.

typedef typename Allocator::difference_type difference_type;

Remarks

difference_type describes an object that can represent the difference between the addresses of any two elements in the controlled sequence.

Requirements

Header: <forward_list>

Namespace: std

See Also

Reference

forward_list Class