I've been reading on XML schema, and it's embarrassingly obvious that it has been designed by a committee.
The facets for restricting a simple type include the following:
On the C++ STL front, the same committee would grace us the following new container methods:
const_iterator begin_inclusive() const; const_iterator end_inclusive() const; reverse_iterator rbegin_inclusive(); reverse_iterator rend_inclusive(); const_iterator begin_exclusive() const; const_iterator end_exclusive() const; reverse_iterator rbegin_exclusive(); reverse_iterator rend_exclusive(); int element_ordinal(iterator pos) const; void set_element_ordinal(iterator pos, int n);
Last modified: Wednesday, December 7, 2005 2:40 pm
Unless otherwise expressly stated, all original material on this page created by Diomidis Spinellis is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.