Please see https://github.com/boostorg/function/pull/47 and let us know if that minor modification helps you out.
- Bug#1059133: dogecoin: FTBFS: error: invalid ‘static_ca... Sebastian Ramacher
- Bug#1059133: dogecoin: FTBFS: error: invalid ‘stat... Chad Jacob Milios