<p></p>
<p>According to <a href="https://www.freebasic.net/wiki/KeyPgSwap" rel="nofollow">SWAP in the manual</a>,</p>
<blockquote>
<p>For UDTs, Swap simply exchanges the contents of the structures, without any operators or methods being called.</p>
</blockquote>
<p>In other words it shouldn't call any copy-constructors or other constructors, which could be problematic. I don't remember avoiding SWAP.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/ohrrpgce/ohrrpgce/issues/1137#issuecomment-827773714">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AMWGWZSK2QAEBNK55JJMNU3TK3WP5ANCNFSM4O7TTNZA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AMWGWZSHVZZ57T7GZWM6PUTTK3WP5A5CNFSM4O7TTNZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGFLNGEQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ohrrpgce/ohrrpgce/issues/1137#issuecomment-827773714",
"url": "https://github.com/ohrrpgce/ohrrpgce/issues/1137#issuecomment-827773714",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>