|
Boost : |
Subject: [boost] [preprocessor] Get last token
From: Roman Perepelitsa (roman.perepelitsa_at_[hidden])
Date: 2011-11-28 05:18:21
Is it possible to extract the last token from a list of space separated
tokens?
LAST_TOKEN(a b) // expands to b
LAST_TOKEN(blah blah b) // expands to b
LAST_TOKEN(* & b) // expands to b
Roman Perepelitsa.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk