replaced index constructors from specific signed / unsigned integers by...

replaced index constructors from specific signed / unsigned integers by template versions; should be more general and fix a compilation error on macOS (relates #205)
8 jobs for master in 8 minutes and 48 seconds (queued for 3 seconds)