---
layout: "default"
title: "sizeof"
description: "Swift documentation for 'sizeof': Returns the contiguous memory footprint of T."
keywords: "sizeof,func,swift,documentation"
root: "/v2.1"
---

<div class="declaration" id="func-sizeof-t_-t-type">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-sizeof-t_-t-type">func sizeof&lt;T&gt;(<wbr>_: T.Type)</a>
        
<div class="comment collapse" id="comment-func-sizeof-t_-t-type"><div class="p">
    <p>Returns the contiguous memory footprint o