I needed exactly this today, and scratching around the archives, I found a short thread from 2000 on it...
Has any more work been done here, is it something that is to be included in boost?
Is it already there and I'm just missing something :)