I would avoid adding a boost dependency unless absolutely needed.