ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

High chance I'm doing it wrong. So maybe? If I leave the lambda return type out or use auto, latest VC says: static_assert failed: 'expected<T, E>::and_then(F) requires the return type of F to be a specialization of expected. (N4950 [expected.object.monadic]/7)' Worse for return std::unexpected

May 15, 2025, 8:37 AM

Record data

{
  "uri": "at://did:plc:ok2kadkcdv2er76bs6x3tdac/app.bsky.feed.post/3lp74dy5btc26",
  "cid": "bafyreiaohgxyz7oynsrvddzlzeepke3wp6d2uejszp67w5u5gc6vymp63i",
  "value": {
    "text": "High chance I'm doing it wrong. So maybe?\n\nIf I leave the lambda return type out or use auto, latest VC says:\n\nstatic_assert failed: 'expected<T, E>::and_then(F) requires the return type of F to be a specialization of expected. (N4950 [expected.object.monadic]/7)'\n\nWorse for return std::unexpected",
    "$type": "app.bsky.feed.post",
    "langs": [
      "en"
    ],
    "reply": {
      "root": {
        "cid": "bafyreif7czf476ugpruojjrncqkqwymk6kl7b45cxmpkk6e5duabt3t2rq",
        "uri": "at://did:plc:ok2kadkcdv2er76bs6x3tdac/app.bsky.feed.post/3lp6wn3s36s2t"
      },
      "parent": {
        "cid": "bafyreigod5bjn6oenh3zy5inoktxfrnw4qauygvjni5c4falvfto3vtn2y",
        "uri": "at://did:plc:2gpnll4zjhzy3sel75aarzna/app.bsky.feed.post/3lp72owyb5s2n"
      }
    },
    "createdAt": "2025-05-15T08:37:36.266Z"
  }
}