Vector Class Discussion

Factoring out boilerplate for integer vectors
Author: Agner Date: 2016-06-01 08:48
Peter Cordes wrote:
Did you purposely avoid factoring out functions that are just defined in terms of other functions, and are the same except for the type names?
Yes. I don't want to add more complexity than necessary. Defining each operator and function explicitly makes it easier for the user to debug. I am using templates only for long functions, such as the mathematical functions.
 
thread Test suite for VCL? And how to submit patches new - Peter Cordes - 2016-05-31
replythread Test suite for VCL? And how to submit patches new - Agner - 2016-05-31
replythread Factoring out boilerplate for integer vectors new - Peter Cordes - 2016-05-31
last reply Factoring out boilerplate for integer vectors - Agner - 2016-06-01
last reply Test suite for VCL? And how to submit patches new - Peter Cordes - 2016-06-05
last replythread Test suite for VCL? And how to submit patches new - Peter Cordes - 2016-06-02
last replythread Test suite for VCL? And how to submit patches new - Agner - 2016-06-03
last reply Test suite for VCL? And how to submit patches new - Peter Cordes - 2016-06-03