Hi Brad,

> Am 14.01.2019 um 12:44 schrieb Brad King <brad.k...@kitware.com>:
> 
> I've almost never needed to test the length of a list in CMake
> code.  It's not very common in my experience.  What is your
> customer trying to do?

Sorry for the late response! I’ve asked him. Mainly, he has three use cases:

- Checking for empty lists (I’ve showed him that this can be done by a string 
compare).
- Checking for lists having more than 1 entry
- Checking for equal size of two lists. For example, if you want to pass pairs 
or tuples to a function. (example: f(firsts seconds))

regards,

Torsten


Attachment: signature.asc
Description: Message signed with OpenPGP

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake-developers

Reply via email to