boost and Either type for P11