Re: [Development] Template-meta-programming do's and don'ts

2023-05-02 Thread Mårten Nordheim via Development
; Subject: [Development] Template-meta-programming do's and don'ts > > During header review we identified a few cases where e.g. using > std::conjunction/disjunction wasn’t used, or not used optimally. Using > suboptimal constructs can result in significant compile-time penalties. &

[Development] Template-meta-programming do's and don'ts

2023-05-02 Thread Volker Hilsheimer via Development
During header review we identified a few cases where e.g. using std::conjunction/disjunction wasn’t used, or not used optimally. Using suboptimal constructs can result in significant compile-time penalties. We generally don’t have a lot of guidelines for template-meta-programming. Should we hav