Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-01-17 | Replaced `If` based `Nth` implementation with partial specializations | Adrian Kummerlaender | |
* partial specializations offer control over lazy type instantiation ** `If` is currently only a `std::conditional` wrapper and requires further refinement to be really useful for this kind of use case | |||
2015-01-17 | Implemented `Take` function | Adrian Kummerlaender | |
* as its name implies this function _takes_ a maximum of _Count_ elements of a list * added appropriate test case | |||
2015-01-17 | Implemented `Nth` function | Adrian Kummerlaender | |
* as its name implies this function returns the _nth_ value of a given _Cons_ structure * added appropriate test case | |||
2015-01-17 | Extracted list operations into separate _operation_ headers | Adrian Kummerlaender | |
2015-01-17 | Implemented `Length` function | Adrian Kummerlaender | |
* as its name implies this function returns the length of a given _Cons_ structure * result type is `Size<Length>` which wraps `std::size_t` to match the `sizeof` operator | |||
2015-01-17 | Added Scheme representation to test cases as a kind of documentation | Adrian Kummerlaender | |
2015-01-16 | Implemented recursive `Concatenate` _Cons_ constructor | Adrian Kummerlaender | |
* concatenates two given _Cons_ based lists into a single one | |||
2015-01-16 | Implemented basic `Cons` value type and `List` constructor | Adrian Kummerlaender | |
* `Cons` is a straigth forward type _pair_ containing `car` and `cdr` typedefs ** they may be accessed using `Car` and `Cdr` helper template aliases ** there is no enforcement of _Cons_ structure and type equality whatsoever *** i.e. similar to Scheme and different from how it is implemented in _ConstList_ * `List` is a recursive variadic helper template for constructing `Cons` value types ** simplifies _Cons_ construction and may be expanded to offer type deduction and built upon to enforce type equality * added appropriate test cases | |||
2015-01-16 | Capitalized math operations to fit naming scheme | Adrian Kummerlaender | |
2015-01-16 | Implemented `tav::If` as `std::conditional` wrapper | Adrian Kummerlaender | |
2015-01-16 | Redefined function template structs as template aliases | Adrian Kummerlaender | |
2015-01-15 | Extracted basic math operations into separate header | Adrian Kummerlaender | |
2015-01-15 | Removed unnecessary restrictions of the standard operator rules | Adrian Kummerlaender | |
2015-01-15 | Completed basic math operators and fixed their result type | Adrian Kummerlaender | |
* the result type now depends on the `decltype` of the performed operation | |||
2015-01-15 | Added basic value type alias and math operations | Adrian Kummerlaender | |
2015-01-15 | Initial project structure | Adrian Kummerlaender | |