If wished smoothing shape result was no sharp edge instead of no sharp corner, then simple alternative would be using hull.
smidge=0.001; cube(10); hull() { sphere(10); translate([10,0,10]) sphere(smidge); }