:relfileprefix: ../../../../
[#31030C997F08A8875F3A6E856038D9662749BDF7]

= Function string_view_base::copy

pass:v,q[Copy the characters to another buffer]


== Synopsis

Declared in header `</boost/url/grammar/string_view_base.hpp#L333[boost/url/grammar/string_view_base.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
constexpr
xref:boost/urls/grammar/string_view_base/size_type.adoc[size_type]
copy(
    char* s,
    xref:boost/urls/grammar/string_view_base/size_type.adoc[size_type] n,
    xref:boost/urls/grammar/string_view_base/size_type.adoc[size_type] pos = 0) const;
----

== Description

pass:v,q[See `core::string_view::copy`]



== Return Value

* `size_type` 


== Parameters

|===
| Name | Type 

| *s*
| ``

| *n*
| `size_type`

| *pos*
| `size_type`

|===



