X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=libstdc%2B%2B-v3%2Fdoc%2Fhtml%2Fext%2Fpb_ds%2Fsample_size_policy.html;fp=libstdc%2B%2B-v3%2Fdoc%2Fhtml%2Fext%2Fpb_ds%2Fsample_size_policy.html;h=ebb14d30b5df8950e618ecf3e2a49d4031a04339;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=0000000000000000000000000000000000000000;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/libstdc++-v3/doc/html/ext/pb_ds/sample_size_policy.html b/libstdc++-v3/doc/html/ext/pb_ds/sample_size_policy.html new file mode 100644 index 00000000..ebb14d30 --- /dev/null +++ b/libstdc++-v3/doc/html/ext/pb_ds/sample_size_policy.html @@ -0,0 +1,163 @@ + + + +
+ + +A sample size policy.
+ +This class serves to show the interface a size policy needs + to support.
+ +Defined in: sample_size_policy.hpp
+ +Type | + +Definition | + +Description | +
+ +size_type ++ |
+
+
+ +size_t, e.g. ++ |
+
+
+ Size type. + |
+
Method | + +Description | +
+ + sample_size_policy + () ++ |
+
+
+ Default constructor. + +Must be default constructable. + |
+
+ + sample_range_hashing + (const sample_size_policy &other) ++ |
+
+
+ Copy constructor. + +Must be copy constructable. + |
+
+ +inline void + swap + (sample_size_policy &other) ++ |
+
+
+ Swaps content. + +Must be swappable (if there is such a word). + |
+
Method | + +Description | +
+ +inline size_type + get_nearest_larger_size + (size_type size) const ++ |
+
+
+ Given a size size, + returns a size that is larger. + |
+
+ +inline size_type + get_nearest_smaller_size + (size_type size) const ++ |
+
+
+ Given a size size, + returns a size that is smaller. + |
+