note BrowserUk <blockquote><i>this workaround doesn't look efficient</i></blockquote> <p>It is. It takes an lvalue reference (a scalar value) and passes that to [vec]. It is marginally less efficient than <c>vec( substr( ... ), ... );</c>, but not so much that you would be able to detect it. <p>However, [substr] can only provide an lvalue for byte-sized units; where [vec] can provide an lvalue for 8 byte units. <div class="pmsig"><div class="pmsig-171588"> <hr /> <font size=1 > <div>With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'</div> <div>Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.</div> <div>"Science is about questioning the status quo. Questioning authority". </div> <div>In the absence of evidence, opinion is indistinguishable from prejudice. </div> </font> </div></div> 1040499 1040500