Tags: mrange/cpplinq
Tags
cpplinq-20140323 What's new in this release: 1. Minor tweaks (whitespaces, closure captures and so on) 2. Preparing for noexcept (CPPLINQ_NOEXCEPT macro) 3. Added opt::clear 4. Reworked how from range sources iterates in order to reduce overhead 5. Added ref () which takes range of references and wraps it in std::reference_wrapper. Useful when storing references in a STL collection. Thanks to: 1. nitrogene38 - For requesting ref ()
cpplinq-20130810 What's new in this release: 1. Non standard #pragma once replaced with header guards 2. first() added 3. throw() removed from range::operator>> (in order to enable operators such a first() to throw on empty sequences) 4. const correctness fixes 5. code style fixes 6. Returns reference to locally scoped instance fixed Thanks to: 1. breyed - for the implementation of first() and discussions regarding the return value semantics of cpplinq. 2. stl - for sorting out a bug in cpplinq regarding exceptions. 3. mwpowellhtx - for pointing out that #pragma once is non standard
Fixing case: climits should be included for INT_MAX, in addition fixi… …ng from_copy to use perfect forwarding to minimize unnecessary copying.
- added sum(selector), min(selector), max(selector), avg(selector), a… …ggregate, to_list, repeat(), empty<T>() - added tests for the new operators - fixed code formatting tabs vs. spaces - arranged the operators by category
Changed sum test to become a test focusing on testing the overhead ad… …ded of CppLinq compared to handwritten loops.